• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

What does this line do?

What does the following line do?

echo up for `cat  /proc/uptime` secs  | grep –v 1234 >  test
0
slavikn
Asked:
slavikn
  • 2
1 Solution
 
slaviknAuthor Commented:
Oh... I've found out what it does.
I just don't understand why the file
   /proc/uptime
contains two numbers.
What does each number mean?
0
 
byttaCommented:
the first number time since start in seconds  (the uptime you get if you type "uptime")

I'm not sure about the second one, but my guess is that it's system idle time (rather than system usage), also  in seconds
0
 
slaviknAuthor Commented:
Thanks (already found it).
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now