---
title: "Discussion on \"Linux scheduling and using strace on linux\" | Hashnode"
description: "Discussion on \"Linux scheduling and using strace on linux\". I have been writing bpftrace scripts to look at how tasks run on Linux in detail. One of these bpftrace scripts that I created takes the task states and shows the states for a given process. When I tried running the linux strace (system call trace) e..."
url: "https://hashnode.com/posts/linux-scheduling-and-using-strace-on-linux/653fa8a6304fd08b5eb9e1cb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Linux scheduling and using strace on linux](https://databaseperformance.hashnode.dev/linux-scheduling-and-using-strace-on-linux?utm_source=hashnode&utm_medium=feed)

I have been writing bpftrace scripts to look at how tasks run on Linux in detail. One of these bpftrace scripts that I created takes the task states and shows the states for a given process. When I tried running the linux strace (system call trace) e...

Oct 30, 2023 · 9 min read · databaseperformance.hashnode.dev  
Read the article

-   [#linux](https://hashnode.com/tag/linux)
-   [#performance](https://hashnode.com/tag/performance)
-   [#tools](https://hashnode.com/tag/tools)

## Written by

[Frits Hoogland](https://hashnode.com/@fritshoogland1614)

@fritshoogland1614 · Lutjebroek, Netherlands

  
[View profile](https://hashnode.com/@fritshoogland1614)

Playing with performance

## Responses 2

Markdown supported · ⌘↵ to post

[Frits Hoogland](https://hashnode.com/@fritshoogland1614)

[Nov 5, 2023](https://hashnode.com/posts/linux-scheduling-and-using-strace-on-linux/653fa8a6304fd08b5eb9e1cb/comment/6547d44731ab12d0f49f32c7)

For the first waking it takes the time for which there is no previous time to subtract, which then gives the time since the machine started.

[Jared Still](https://hashnode.com/@jkstill)

[Nov 5, 2023](https://hashnode.com/posts/linux-scheduling-and-using-strace-on-linux/653fa8a6304fd08b5eb9e1cb/comment/6547d37931ab12d0f49f32ac)

The value of 2707555597 is ~ 45 minutes. Is this time that the process (or task) was idle?
