10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
I must write a Linux script for a biological analysis. I have an example for that which involves the "bsub" and "bsub-o" command, respectively. I cannot find a description for this command. Can you please help me? (2 Replies)
Discussion started by: Max_W
2 Replies
2. UNIX for Dummies Questions & Answers
hi all, i'm trying to do this exercise, i want to create a script that can substitute WC command in unix, can someone help me? (11 Replies)
Discussion started by: Marina2013
11 Replies
3. Windows & DOS: Issues & Discussions
Hi,
The title of this post is a little vague but I couldn't think of what to call it.
In Unix you can perform the following command
ftp -v IPADDRESS <<END
put FILE
END
In a DOS command prompt, is it possible to do the same kind of thing that the "<<END" does?
So for example, ... (4 Replies)
Discussion started by: Ste_Moore01
4 Replies
4. AIX
i know after you do something in smitty via the gui, you can click something in smitty that will show you how to do the same thing via the command line, (not using the gui) can anyone tell me how (2 Replies)
Discussion started by: asyed123
2 Replies
5. UNIX for Advanced & Expert Users
Hello. Hopefully this is the right forum, did a search and found some similar questions here.
I'm trying to find out if there is a way to get the job id while submitting a job using qsub. I want to monitor the list of active jobs using qstat and when my jobid is no longer on the active list, I... (3 Replies)
Discussion started by: aeoleon88
3 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am new to HP-UX.
Can someboby help me with the svcs equivalent command in HP-UX ???
svcs is command that we use in Solaris for service status. I need to get the status of services in HP-UX.
Thanks in advance. (2 Replies)
Discussion started by: EmbedUX
2 Replies
7. Shell Programming and Scripting
Can anyone tell me which is the equivalent command to
'stats' in ksh shell which discribes the file system?
Thanks in advance
Regards,
Im_new (6 Replies)
Discussion started by: im_new
6 Replies
8. Solaris
Hi,
C an someone help me out in getting the command to get system statistics like CPU, DISK and I/O utilization in a single command instead of mpstat,vmstat and iostat.
When i give sar, getting the following error,
bash-3.00# sar
sar: can't open /var/adm/sa/sa15
No such... (6 Replies)
Discussion started by: grrajeish
6 Replies
9. Solaris
What is the Solaris equivalent of the HP-UX "ioscan -funC" command which lists all hardware on the system? (5 Replies)
Discussion started by: etc
5 Replies
10. UNIX for Advanced & Expert Users
Hi all,
Is there any command in unix equivalent to setlocal in windows.
setlocal command is really useful in restoring local environment variables in windows.
Thanks,
Sonal. (7 Replies)
Discussion started by: sonaluphale
7 Replies
rusage(1B) SunOS/BSD Compatibility Package Commands rusage(1B)
NAME
rusage - print resource usage for a command
SYNOPSIS
/usr/ucb/rusage command
DESCRIPTION
The rusage command is similar to time(1). It runs the given command, which must be specified; that is, command is not optional as it is in
the C shell's timing facility. When the command is complete, rusage displays the real (wall clock), the system CPU, and the user CPU times
which elapsed during execution of the command, plus other fields in the rusage structure, all on one long line. Times are reported in sec-
onds and hundredths of a second.
EXAMPLES
Example 1: The format of rusage output
The example below shows the format of rusage output.
example% rusage wc /usr/share/man/man1/csh(1)
3045 13423 78071 /usr/share/man/man1/csh(1)
2.26 real 0.80 user 0.36 sys 11 pf 38 pr 0 sw 11 rb 0 wb 16 vcx 37
icx 24 mx 0 ix 1230 id 9 is
example%
Each of the fields identified corresponds to an element of the rusage structure, as described in getrusage(3C), as follows:
real elapsed real time
user ru_utime user time used
sys ru_stime system time used
pf ru_majflt page faults requiring physical I/O
pr ru_minflt page faults not requiring physical
I/O
sw ru_nswap swaps
rb ru_inblock block input operations
wb ru_oublock block output operations
vcx ru_nvcsw voluntary context switches
icx ru_nivcsw involuntary context switches
mx ru_maxrss maximum resident set size
ix ru_ixrss currently 0
id ru_idrss integral resident set size
is ru_isrss currently 0
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), time(1), getrusage(3C), attributes(5)
BUGS
When the command being timed is interrupted, the timing values displayed may be inaccurate.
SunOS 5.10 14 Sep 1992 rusage(1B)