10-22-2010
Hi Sanjay,
Thank you. You are right . In your case usage time is the latest time.
But in my example usage time is older time.
What my doubt here is when the modified time is "Oct 15" how come the last usage time can be Sep 24?
Last usage time should be equal or newer than the modified time right?
Thanks,
Puni
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I want to ssh to a remote terminal i did the following steps
1. On the client run the following commands:
2. $ mkdir -p $HOME/.ssh
3. $ chmod 0700 $HOME/.ssh
4. $ ssh-keygen -t dsa -f $HOME/.ssh/id_dsa -P ''
and then tried the following
$ ssh -i $HOME/.ssh/id_dsa server
... (1 Reply)
Discussion started by: gauri
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to capture output of prstat command for certain pid's .I found it as prstat -j filename. I created a filename projlist gave the pid number on the projlist file and run the cmd like this
>prstat -j projlist
prstat: illegal argument -- projlist
can anybody suggest how to... (1 Reply)
Discussion started by: vipin771
1 Replies
3. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
4. Solaris
I know one of the more seasoned veterans probably opened this thread looking for their chance to refer me to the site's search feature and let me tell you.
I'VE LOOKED!!!! And I didn't find anything helpful...
So, I've got a windows background and I'm fond of its search feature which comes... (6 Replies)
Discussion started by: ProGrammar
6 Replies
5. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
6. UNIX for Advanced & Expert Users
Good day all.
I'm trying to add a user with useradd and the -p option to assign a project name, but the result is that the user is created with an error message: "UX: useradd: user.root name should be all lower case or numeric."
The command:
useradd -d /export/home/tester -g rtpgrp -G... (2 Replies)
Discussion started by: BRH
2 Replies
7. IP Networking
Hi gurus of unix, I haved installed my openSolaris in a HP530,
Recently I use the following command
beadm destry opensolaris1
beadm destry opensolaris2
After That I reboot my Laptop.
Well when I go to my work I try to open my wireshark tool, but the option in GUI interface does not appear!!!... (2 Replies)
Discussion started by: andresguillen
2 Replies
8. Shell Programming and Scripting
Hi,
I am using mailx command in shell script. When i put -c option for CC , i get error message as "Unknown flag: -c" . I checked manual of mailx command and found that ~c to be used but after using ~c also it is not working. My shell is Korn. Kindly let me know what i have to do .
Thanks (9 Replies)
Discussion started by: krishna_gnv
9 Replies
9. Shell Programming and Scripting
Hi,
i am using fgrep command with following syntax
fgrep -v -f pattern_file_name file
file contains few line and have the pattern which i am giving in pattern file.
My Problem is :
its is not giving any output.
while i am using fgrep -f pattern_file_name file
it is showing all... (4 Replies)
Discussion started by: emresearch
4 Replies
10. Shell Programming and Scripting
Hello Guys ,
I am trying to run below in one of my script but unable to get it succeed .
Can anyone help me on this?
I am using HP-UX.
if
then
write_log " Both files are present . Mail will be send to respective teams."
EMAIL_SUBJECT="MGCA - File Extraction Process COMPLETED"... (12 Replies)
Discussion started by: himanshu sood
12 Replies
TIME(1) BSD General Commands Manual TIME(1)
NAME
time -- time command execution
SYNOPSIS
time [-clp] command [argument ...]
DESCRIPTION
The time utility executes and times command. After the command finishes, time writes the total elapsed time (wall clock time), (``real''),
the CPU time spent executing command at user level (``user''), and the CPU time spent executing in the operating system kernel (``sys''), to
the standard error stream. Times are reported in seconds.
Available options:
-c Displays information in the format used by the time builtin of csh(1).
-l Lists resource utilization information. The contents of the command process's rusage structure are printed; see below.
-p The output is formatted as specified by IEEE Std 1003.2-1992 (``POSIX.2'').
Some shells, such as csh(1) and ksh(1), have their own and syntactically different built-in version of time. The utility described here is
available as /usr/bin/time to users of these shells.
Resource Utilization
If the -l option is given, the following resource usage information is displayed in addition to the timing information:
maximum resident set size
average shared memory size
average unshared data size
average unshared stack size
page reclaims
page faults
swaps
block input operations
block output operations
messages sent
messages received
signals received
voluntary context switches
involuntary context switches
Resource usage is the total for the execution of command and any child processes it spawns, as per wait4(2).
FILES
<sys/resource.h>
EXIT STATUS
The time utility exits with one of the following values:
1-125 An error occurred in the time utility.
126 The command was found but could not be invoked.
127 The command could not be found.
Otherwise, the exit status of time will be that of command.
SEE ALSO
csh(1), ksh(1), clock_gettime(2), getrusage(2)
STANDARDS
The time utility conforms to IEEE Std 1003.2-1992 (``POSIX.2'').
BUGS
The granularity of seconds on microprocessors is crude and can result in times being reported for CPU usage which are too large by a second.
BSD
November 9, 2011 BSD