Hi,
I need to know , if there is some routine like a function "accton" to accounting process for HP-UX, because I need accounting the command executed for users and is necesary that include the argumments of command but the file "paccton" generated for function "accton" doesn't include them.
... (0 Replies)
Hi there
I have a backup script that runs every night and for some reason ive been getting in in the morning and the process has died, Is there any way I can tell when it died? if not .....would anybody recommend some scripting that i could do that would be able to tell me this information
... (3 Replies)
how to decrease priority of a particular process in time of process creation...
and also how to decrease priority of a particular process after process creation..
can any one please help me out... (2 Replies)
Hi All,
I have a simple question on unix command. Here, I need to find the most time consumed process running at present in my HP -UX server.
Though it is possible through top command but to redirect the output I want the same done through some command like ps -aef.
Also I need the user who... (2 Replies)
When i run #acctadm command it shows it as inactive but /var/adm/pacct file has todays date such as
-rw-r--r-- 1 adm adm 182397160 Mar 25 15:48 pacct
# acctadm
Task accounting: inactive
Task accounting file: none
Tracked task resources: none
Untracked... (5 Replies)
Process start time is not showing the correct time:
I had started a process on Jun 17th at 23:30:00.
Next day morning when I run the command "ps -ef | grep mq", the process is showing the start date of Jun 17th but the start time is 00:16:41
Day/Date is setup correctly on the server.
It... (2 Replies)
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Hi, I'm trying to learn csh so I've started to do some simple scrips.
Now I'm kinda stuck in this one: I want to do a script that first search, for each user, if there's at least a process with a TIME >= something (30 mins, for example).
There are 2 things that I cant figure out:
- in the... (3 Replies)
Hello All,
I have a problem calculating the time difference between start and end timings...!
the timings are given by 24hr format..
Start Date : 08/05/10 12:55
End Date : 08/09/10 06:50
above values are in mm/dd/yy hh:mm format.
Now the thing is, 7th(08/07/10) and... (16 Replies)
Discussion started by: smarty86
16 Replies
LEARN ABOUT HPUX
timex
timex(1) General Commands Manual timex(1)NAME
timex - time a command; report process data and system activity
SYNOPSIS
command
DESCRIPTION
reports in seconds the elapsed time, user time, and system time spent in execution of the given command. Optionally, process accounting
data for command and all its children can be listed or summarized, and total system activity during the execution interval can be reported.
The output of is written on the standard error. Timex returns an exit status of 1 if it is used incorrectly, if it is unable to fork, or if
it could not exec command . Otherwise, timex returns the exit status of command.
Options
Report the total number of blocks read or written and
total characters transferred by command and all its children. This option works only if the process accounting soft-
ware is installed.
List process accounting records for
command and all its children. The suboptions and modify the data items reported. They behave as defined in acct-
com(1M). The number of blocks read or written and the number of characters transferred are always reported.
This option works only if the process accounting software is installed and has been invoked to create
Report total system activity (not just that due to
command) that occurred during the execution interval of command. All the data items listed in sar(1M) are reported.
EXAMPLES
A simple example:
A terminal session of arbitrary complexity can be measured by timing a sub-shell:
session commands
EOT
WARNINGS
Process records associated with command are selected from the accounting file by inference, since process genealogy is not available.
Background processes having the same user-ID, terminal-ID, and execution time window are spuriously included.
SEE ALSO sar(1M), acctcom(1M).
STANDARDS CONFORMANCE timex(1)