11-09-2005
/usr/ucb/ps aux
prstat -avm
10 More Discussions You Might Find Interesting
1. AIX
I'm trying to monitor the CPU usage of a process and output that value to a file or variable. I know topas or nmon can tell me this in interactive mode but what I need is topas-looking output that allows me to write to a file after a discrete interval. Unlike nmon data collection to a file on top... (5 Replies)
Discussion started by: robot23
5 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am designing a load balancer for an application. I am trying to find out the CPU usage by a specifc Unix process (PID is known). I guess I can use ps command to find that. can somebody help me in finding what exact command I should use to find? It is on AIX 5.3.
Regards
Asutosh (2 Replies)
Discussion started by: asutoshch
2 Replies
3. UNIX for Dummies Questions & Answers
Trying to come up with a command that will show all processes sorted from highest cpu usage to lowest. Any ideas? (9 Replies)
Discussion started by: cwsmichigan
9 Replies
4. Solaris
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Discussion started by: mahive
4 Replies
5. Shell Programming and Scripting
Hi,
I have a shell script. But, upon execution of the same, the cpu usage is sometimes getting 100 % (checked executing top command).
At that point of time, my process hangs, doesn't run anymore. I need to kill it manually.
My concern is, is there any default method, by which I can check... (1 Reply)
Discussion started by: jitendriya.dash
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
By using time command we can determine the execution time of a process or command.
bash-2.04$ time ls -l
total 0
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2
real 0m0.002s
user 0m0.000s
sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies
7. AIX
I don't know when the process will start and end, I need write a script to trace it's cpu/memory usage when it is runing. How to write this script? (2 Replies)
Discussion started by: rainbow_bean
2 Replies
8. Shell Programming and Scripting
Hi guys,
I am currently writing a JAVA script to monitor certain unix processes through JConsole.
Upon having lots of trouble with runtime.exec, i decided to bypass the top/ps command call and just get the information straight from /proc/*pid*/whatever.
Now i can pull back any... (0 Replies)
Discussion started by: matt9949
0 Replies
9. AIX
Hi all,
I am currently having trouble to get nmon to print me the actual CPU usage for an interval for a process.
According to the manual, something like
# time nmon -t -C cron -s 5 -c 2 -F outfile
real 0m0.98s
user 0m0.03s
sys 0m0.04s
should print out at least the process... (15 Replies)
Discussion started by: zaxxon
15 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I will be creating a process myself and I want to know the average CPU and RAM used by the process over the lifetime of the process. I see that there are various tools available(pidstat) for doing , I was wondering if it possible to do it in a single command while creation.
Thanks in... (3 Replies)
Discussion started by: koustubh
3 Replies
LEARN ABOUT OPENSOLARIS
t300s
plot(1B) SunOS/BSD Compatibility Package Commands plot(1B)
NAME
plot, aedplot, atoplot, bgplot, crtplot, dumbplot, gigiplot, hpplot, implot, plottoa, t300, t300s, t4013, t450, tek, vplot, hp7221plot -
graphics filters for various plotters
SYNOPSIS
/usr/ucb/plot [-Tterminal]
DESCRIPTION
The plot utility reads plotting instructions (see plot(4B)) from the standard input and produces plotting instructions suitable for a par-
ticular terminal on the standard output.
If no terminal is specified, the environment variable TERM is used. The default terminal is tek.
ENVIRONMENT VARIABLES
Except for ver, the following terminal-types can be used with `lpr -g' (see lpr(1B)) to produce plotted output:
2648 | 2648a | h8 | hp2648 | hp2648a
Hewlett Packard 2648 graphics terminal.
hp7221 | hp7 | h7 |
Hewlett Packard 7221 plotter.
300
DASI 300 or GSI terminal (Diablo mechanism).
300s | 300S
DASI 300s terminal (Diablo mechanism).
450
DASI Hyterm 450 terminal (Diablo mechanism).
4013
Tektronix 4013 storage scope.
4014 | tek
Tektronix 4014 and 4015 storage scope with Enhanced Graphics Module. (Use 4013 for Tektronix 4014 or 4015 without the Enhanced Graphics
Module).
aed
AED 512 color graphics terminal.
bgplot | bitgraph
BBN bitgraph graphics terminal.
crt
Any crt terminal capable of running vi(1).
dumb | un | unknown
Dumb terminals without cursor addressing or line printers.
gigi | vt125
DEC vt125 terminal.
implot
Imagen plotter.
var
Benson Varian printer-plotter
ver
Versatec D1200A printer-plotter. The output is scan-converted and suitable input to `lpr -v'.
FILES
/usr/ucb/aedplot
/usr/ucb/atoplot
/usr/ucb/bgplot
/usr/ucb/crtplot
/usr/ucb/dumbplot
/usr/ucb/gigiplot
/usr/ucb/hp7221plot
/usr/ucb/hpplot
/usr/ucb/implot
/usr/ucb/plot
/usr/ucb/plottoa
/usr/ucb/t300
/usr/ucb/t300s
/usr/ucb/t4013
/usr/ucb/t450
/usr/ucb/tek
/usr/ucb/vplot
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
graph(1), tplot(1), vi(1), lpr(1B), plot(4B), attributes(5)
SunOS 5.11 3 Aug 1994 plot(1B)