10-07-2009
are you running solaris or linux?
also, please search forums first before posting:
Solaris Top Command
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
There is a process which is consuming too much time.. how to find that process and kill it. (3 Replies)
Discussion started by: shreenivas
3 Replies
2. AIX
How can i find the processes that is consuming most memory? I tried TOPAS and SVMON and this didn't gave me the desired result. (1 Reply)
Discussion started by: shabu
1 Replies
3. AIX
HI All,
Can anyone send me a command to find TOP 5 Memory consuming process.
It would be lelpful if I get output something like below
processname - pid - memory(in MB) - command
I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Discussion started by: bce_groups
4 Replies
4. Shell Programming and Scripting
Hi
i want to know if many users are logging in system then how would i know that how much space in system i am consuming..
Thanks
Vijay sahu (4 Replies)
Discussion started by: vijays3
4 Replies
5. UNIX for Advanced & Expert Users
Hello,
I execute an application on my Unix AIX Server and that one crashes after reading some files. These files are very big (80 Mbytes), the application is a CVS Repository.
I have found with a comparaison on a Solaris Server that there are system limitations on my AIX Server in the... (2 Replies)
Discussion started by: steiner
2 Replies
6. AIX
Hi All
what is the command to check process ids , which are running from long time and which are consuming more cpu?
Also how to check, what a particular PID is running what
For Ex:
i have a pid :3223722 which is running since from long time,
if i want to check what is this... (1 Reply)
Discussion started by: sidharthmellam
1 Replies
7. Shell Programming and Scripting
Hi All,
I have written a script to check the file system usage and to delete the files which is consuming more space.Please check whether the script is corrcet
#Script Starts here
#!/usr/local/bin/perl
#Program to find the disk space and to delete the older files
#Checks the type of OS... (8 Replies)
Discussion started by: arunkarthick
8 Replies
8. AIX
Hello
There are options / commands to check which process is consuming maximum memory
However is there any command/mechanism which will tell us which process was consuming maximum memory in specific time interval in the past?
I heard nmon report can help in this regard.
is there any... (5 Replies)
Discussion started by: Chetanz
5 Replies
9. HP-UX
Hi,
Could you please provide OS command to find large files in size MB and GB... under specific directory in HP-UX?
Regards,
Maddy (4 Replies)
Discussion started by: Maddy123
4 Replies
10. UNIX for Beginners Questions & Answers
I am middle of writing health check scripts, can you pls share commands on how I can get cpu and Mem of top consuming process info at the moment?
Also can u suggest ideas on what all I can look for as a part do health check on red hat Linux server?
I searched on site before posting, but... (2 Replies)
Discussion started by: Varja
2 Replies
LEARN ABOUT OSX
dapptrace
dapptrace(1m) USER COMMANDS dapptrace(1m)
NAME
dapptrace - trace user and library function usage. Uses DTrace.
SYNOPSIS
dapptrace [-acdeFlhoU] [-u lib] { -p PID | command }
DESCRIPTION
dapptrace prints details on user and library function calls. By default it traces user functions only, options can be used to trace library
activity.
Of particular interest is the elapsed times and on cpu times, which can identify both function calls that are slow to complete, and those
which are consuming CPU cycles.
Since this uses DTrace, only users with root privileges can run this command.
OPTIONS
-a print all details
-b bufsize
dynamic variable buffer size. Increase this if you notice dynamic variable drop errors. The default is "4m" for 4 megabytes per CPU.
-c print function call counts
-d print relative timestamps, us
-e print elapsed times, us
-F print flow indentation
-l force printing of pid/lwpid per line
-o print on-cpu times, us
-p PID examine this PID
-u lib trace this library instead
-U trace all library and user functions
EXAMPLES
run and examine the "df -h" command,
# dapptrace df -h
examine PID 1871,
# dapptrace -p 1871
print using flow indents,
# dapptrace -Fp 1871
print elapsed and CPU times,
# dapptrace -eop 1871
FIELDS
PID/LWPID
Process ID / Lightweight Process ID
RELATIVE
relative timestamps to the start of the thread, us (microseconds)
ELAPSD elapsed time for this system call, us
CPU on-cpu time for this system call, us
CALL(args)
function call name, with some arguments in hexadecimal
DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver-
bose descriptions explaining the output.
EXIT
dapptrace will run forever until Ctrl-C is hit, or if a command was executed dapptrace will finish when the command ends.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO
dappprof(1M), dtrace(1M), apptrace(1)
version 1.10 May 14, 2005 dapptrace(1m)