10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
what is the best way to get the memory and cpu usage of a process on any system?
this is relatively simple. however, i'm looking for a unified method that would work on linux, sunos, hpux, aix.
ps -ef | egrep myprocess | awk '{print $4}' ---> there could be several instances of 'myprocess'... (3 Replies)
Discussion started by: SkySmart
3 Replies
2. Linux
Hi,
I want to calculate the total cpu usage from the sar report. Say for example,
Linux 2.6.24-21-generic (blade10) 09/10/2012
04:54:36 PM CPU %user %nice %system %iowait %steal %idle
04:54:37 PM all 0.00 0.00 0.00 0.00 ... (1 Reply)
Discussion started by: rohitmd
1 Replies
3. 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
4. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
5. 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
6. UNIX for Dummies Questions & Answers
Hi All,
Does anyone know what the best commands in the UNIX command line are for obtaining this info:
current CPU usage
memory usage
virtual memory usage
preferably with date and time parameters too?
thanks
ocelot (4 Replies)
Discussion started by: ocelot
4 Replies
7. AIX
If somebody knows there are some tools can show how many CPU, memory useage on AIX and can automatically send email?
Such as when setup if CPU is used over 80%, send alert by email automatically.
Maybe BMC has this tool? (6 Replies)
Discussion started by: rainbow_bean
6 Replies
8. UNIX for Dummies Questions & Answers
Is there a way for me to record cpu and memory usage over time without buying and installing new software? I know I can use top to see the current state, but can I record that data somehow? (2 Replies)
Discussion started by: cshih31
2 Replies
9. Programming
Please tell me solaris functions/api for getting following information
1- Function that tells how much memory used by current process
2- Function that tells how much memory used by all running processes
3- Function that tells how much CPU is used by current process
4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
10. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
LAMNODES(1) LAM TOOLS LAMNODES(1)
NAME
lamnodes - Resolve LAM node/CPU notation to Unix hostnames.
SYNOPSIS
lamnodes [-chin] [where]
OPTIONS
-c Suppress printing the CPU count for each node.
-h Print the command help menu.
-i Print IP addresses (instead of IP names)
-n Suppress printing CPU count for each node
DESCRIPTION
The lamnodes command is used to resolve LAM node/CPU nomenclature to Unix hostnames. It can be used to determine the current running con-
figuration of the LAM/MPI run-time environment, and generate a boot schema that can be used to launch LAM in the future.
By default, lamnodes will print out the node number, default IP name, CPU count, and per-node flags for each node in the running LAM.
gethostbyaddr(3) is used to obtain default hostnames. If gethostbyaddr(3) fails, the IP number is displayed instead.
This command can be used by setup shell scripts (and the like) to determine information from a currently-running LAM universe. For exam-
ple, use lamnodes to resolve particular CPUs and/or nodes to specific unix hostnames. In a batch environment, lamnodes can be used to
determine which CPUs share a common node (note that MPI_GET_PROCESSOR_NAME can be used for a similar effect in an MPI program).
lamnodes also shows per-node flags. Currently defined flags are:
origin The node where lamboot was executed.
this_node The node where lamnodes is running.
no_schedule The node will not be used to run MPI and serial processes when N and C are used to mpirun and lamexec.
EXAMPLES
lamnodes N -n
Display IP names and CPU counts for all nodes. This output can be saved and later used with lamboot(1).
lamnodes C -n -c
Display the IP name of the nodes containing each CPU, and suppress the LAM node number and CPU count. This output can be saved and
later used with lamboot(1).
SEE ALSO
bhost(5), gethostbyaddr(3), lamboot(1)
LAM 7.1.4 July, 2007 LAMNODES(1)