02-23-2004
Thanks a lOT PeepS
Yo!! Thank you guys a lot~~
Now i have more information.. cos I'm doing an OS overview of MAC OS X, and i need to show some examples on how the OS multitasks between different jobs, including the details like average waiting time, turnaround time.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I am a newbie and want to learn unix .
Does unix and linux are one and same.
I have red hat linux cd but i want to take advice from some one wheather unix and linux are same.
If not ,where i'll get a Unix os setup and how i'll install it.
If linux would do then how should... (3 Replies)
Discussion started by: hunter87
3 Replies
2. Shell Programming and Scripting
Hi,
I am beginner writing shell script i am using korn shell. I wrote shell script through which i am passing system date as parameter to build.xml file but i need to write a function when i pass systemdate as parameter the function has to return its respective quarterly date . Can any one... (0 Replies)
Discussion started by: connectpramod
0 Replies
3. Shell Programming and Scripting
aaabbbcccd (1 Reply)
Discussion started by: hateshellscript
1 Replies
4. Solaris
I am having trouble locating a boot server on my subnet. I am trying to avoid installing a boot server if one exisits. Is there a way for me to broadcast a Rarp request to see if any boot servers are on my subnet and if so identify them? I think this will only work if the Rarp protocol supports... (3 Replies)
Discussion started by: mhm4
3 Replies
5. UNIX for Dummies Questions & Answers
hi everyone i'm a noob trying to learn unix language.. but seems like i got no leads on how to start..
i'm playing with the 'ps' command.. i'm trying to show the pid, ppid, username, command, cpu utilization (in desc order), process start time and process status.. all in a command.. am i able... (3 Replies)
Discussion started by: hilofat
3 Replies
6. UNIX for Dummies Questions & Answers
i've been given an assignment to Write a system utility called recycle that satisfies the following requirements as they might be displayed in a UNIX/Linux man page:
NAME
recycle - stores files in a recycle bin
SYNOPSIS
recycle ...
DESCRIPTION
Recycle is a replacement for the... (3 Replies)
Discussion started by: jerryboy78
3 Replies
7. Shell Programming and Scripting
please reply for this
https://www.unix.com/shell-programming-scripting/111493-cutting-lines.html
its really urgent (1 Reply)
Discussion started by: jojo123
1 Replies
8. Shell Programming and Scripting
Hi,
I am using "nc" command to test connectivity to Application ports.
I am getting following outputs in case of success & failed scenarios & I am re-directing it to a file.
FLPROVP02 4848 (?) open
FLPROVP02 4849 (?) : Connection refused
My script is as below.
#!/bin/bash
cd... (2 Replies)
Discussion started by: SunilB2011
2 Replies
9. Shell Programming and Scripting
Hi,
I need to calculate average of a column based on row values of another file.
File 1:
ID start end
1 2 5
1 8 10
2 3 5
2 7 11
...
File 2:
ID position y
1 1 0
1 2 2
1 ... (4 Replies)
Discussion started by: jackken007
4 Replies
10. Shell Programming and Scripting
I am wondering if there is a script (if one exists, not confident in my own scripting ability) that is able to bring up specified information from the /var/log/messages. I need to show logged traffic on specific dates and times and protocols (ie. Show all insecure FTP traffic (most likely via... (13 Replies)
Discussion started by: vgplayer54
13 Replies
UPTIME(1) User Commands UPTIME(1)
NAME
uptime - Tell how long the system has been running.
SYNOPSIS
uptime [options]
DESCRIPTION
uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are
currently logged on, and the system load averages for the past 1, 5, and 15 minutes.
This is the same information contained in the header line displayed by w(1).
System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable
state is either using the CPU or waiting to use the CPU. A process in uninterruptable state is waiting for some I/O access, eg waiting for
disk. The averages are taken over the three time intervals. Load averages are not normalized for the number of CPUs in a system, so a
load average of 1 means a single CPU system is loaded all the time while on a 4 CPU system it means it was idle 75% of the time.
OPTIONS
-p, --pretty
show uptime in pretty format
-h, --help
display this help text
-s, --since
system up since, in yyyy-mm-dd HH:MM:SS format
-V, --version
display version information and exit
FILES
/var/run/utmp
information about who is currently logged on
/proc process information
AUTHORS
uptime was written by Larry Greenfield <greenfie@gauss.rutgers.edu> and Michael K. Johnson <johnsonm@sunsite.unc.edu>
SEE ALSO
ps(1), top(1), utmp(5), w(1)
REPORTING BUGS
Please send bug reports to <procps@freelists.org>
procps-ng December 2012 UPTIME(1)