05-31-2009
How to access process and cpu info on AIX?
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application etc.
On Linux I use the /proc/ pseudo-filesystem to access this information.
How can I do this for AIX? Is there any "standard" way how to do this?
Thank you very much for your help!!
10 More Discussions You Might Find Interesting
1. HP-UX
is there a single command or location from which one can get information like cpu Mhz,cpu cache...etc in HP UX:) (1 Reply)
Discussion started by: vijayca
1 Replies
2. AIX
Hello All,
I wanna find the CPU utilization of a specific process running on AIX OS. I have its pid, but not sure about the command.
iostat
sar 5 5
vmstat
All the above give me system CPU utilization. Is there a way to find for a specific pid???
Thanks,
Ankita (11 Replies)
Discussion started by: Ankita
11 Replies
3. UNIX for Dummies Questions & Answers
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies
4. AIX
Hi.
I am looking for a command that will return me the amount of CPU used by a specific process in AIX environment.
I know there is TOPAS - but it is interactive and I need to get this information from system that connects remotely via SSH.
Using writing to files and than reading them is also... (1 Reply)
Discussion started by: yamsin789
1 Replies
5. Programming
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Discussion started by: DarthVader77
0 Replies
6. HP-UX
Hi,
I am going to buy a software that is licenced per CORE.
I have a HPUX B1123 64 bit with 8 cpus.
How can i know how many cores are in my machine ?
Thanks (3 Replies)
Discussion started by: yoavbe
3 Replies
7. Shell Programming and Scripting
Dear all,
Is there any generic command working on all Unix listing the CPU of a server?
I found different command line per OS but I am looking for a more generic one.
Thanks for your answer. (5 Replies)
Discussion started by: sgoiffon
5 Replies
8. AIX
Hi,
I'm trying to create a script to catch a process which is consuming high CPU which I have pretty much done but it's just finding the correct place to pull the current CPU for that process.
When viewed in Topas it's consuming 99.*% cpu
But if I try using
ps avg or ps -eo pcpu
... (5 Replies)
Discussion started by: elmesy
5 Replies
9. Shell Programming and Scripting
i am using the below command in order to find the cpu utilization by a user..now i want to mail if the cpu utilization goes beyond 5%....can someone please help me ?
ps auxw | sort -r +2 | awk '{ print $3,$1 }' | head -6 | egrep "USER|#anonymous#"
%CPU USER
2.0 anonymous
Regards,... (6 Replies)
Discussion started by: arorap
6 Replies
10. Shell Programming and Scripting
OS: AIX
so we frequently receive a lot of cpu related alerts. all types of checks have been created to keep an eye on the cpu but a lot of these checks make too much noise as the CPU is always being seen as high. the system and application owners say there's no issue with the cpu.
so now,... (6 Replies)
Discussion started by: SkySmart
6 Replies
CLOG(3) BSD Library Functions Manual CLOG(3)
NAME
clog -- complex logarithm function
SYNOPSIS
#include <complex.h>
double complex
clog(double complex z);
long double complex
clogl(long double complex z);
float complex
clogf(float complex z);
DESCRIPTION
clog(z) returns the complex logarithm of z.
clog(conj(z)) = conj(clog(z)), for all complex floating-point numbers z.
SPECIAL VALUES
The conjugate symmetry of clog() is used to abbreviate the specification of special values.
clog(-0 + 0i) returns -inf + Pi i and raises the divide-by-zero flag.
clog(0 + 0i) returns -inf + 0i and raises the divide-by-zero flag.
clog(x + inf i) returns inf + Pi/2 i, for finite x.
clog(x + NaN i) returns NaN + NaN i.
clog(-inf + yi) returns inf + Pi i, for finite positive y.
clog(inf + yi) returns inf + 0i, for finite positive y.
clog(-inf + inf i) returns inf + 3Pi/4 i.
clog(inf + inf i) returns inf + Pi/4 i.
clog(+-inf + NaN i) returns inf + NaN i.
clog(NaN + yi) returns NaN + NaN i, for finite y.
clog(NaN + inf i) returns inf + NaN i.
clog(NaN + NaN i) returns NaN + NaN i.
NOTES
SEE ALSO
cexp(3) log(3) complex(3)
STANDARDS
The clog() function conforms to ISO/IEC 9899:2011.
4th Berkeley Distribution December 11, 2006 4th Berkeley Distribution