01-07-2008
Thanks Porter and frank for your replies !
frank_rizzo, do you mean use something like gprof ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine.
I'm using Sun OS 5.6
Thanks (3 Replies)
Discussion started by: ViperD
3 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am new to Unix and am working on AIX ( rs6000 ). I am looking for the system info of the unix box like
1. Number of CPUs
2. CPU speed
3. RAM size
Your help is much appreciated
Thanks
rao. (6 Replies)
Discussion started by: rao
6 Replies
3. HP-UX
How do I get the system information on a HP UNIX server. details like CPU speed, number of processors etc. (4 Replies)
Discussion started by: Olamide
4 Replies
4. HP-UX
Hi,
I'm writing a script to display a lot of information which describe a server (OS distrib, release, Hardware platform, CPU, HD, S/N...).
For Linux side it is ok as you have almost all the information in /proc/cpuinfo, /proc/meminfo... and you can use dmidecode but for HP-UX I didn't find... (13 Replies)
Discussion started by: biker007fr
13 Replies
5. Solaris
Hello to everyone,
i am new to Sun Solaris. i have Solaris 5.10 installed on the X86 platform.
i am writing a script which gathers some system information. but i can not find some of the parameter from the system
can any one please suggest to way to find these params.
shell command will be... (1 Reply)
Discussion started by: nikhil.sigpro
1 Replies
6. Infrastructure Monitoring
Hi,
How to get the Linux system hardware and software basic information using terminal command ?
Here below i have specified some of the information i need. Please have a look at this and guide me.
OS Name:
OS Version :
OS Manufacturer:
OS Configuration:
OS Build Type:... (6 Replies)
Discussion started by: forumguest
6 Replies
7. Solaris
Hi,
How to get the Solaris system hardware and software basic information using terminal command with guest login?
Here below i have specified some of the information i need. Please have a look at this and guide me.
OS Name:
OS Version :
OS Manufacturer:
OS Configuration:
... (15 Replies)
Discussion started by: forumguest
15 Replies
8. UNIX for Advanced & Expert Users
Hi
I was reading some weblog on the internet and someone made an interesting statement.
<quote>
Linux is kernel and solaris is operating system
</quote>
Honestly I don't understand the difference between term kernel and operating system in above quote.
Could you explain me more ?
thx... (4 Replies)
Discussion started by: presul
4 Replies
9. Programming
Hi all
What is the qualification required by Linux/Solaris System Administrator to become a Linux/Solaris System Programmer as to gain complete knowledge on computers.
Thanks (1 Reply)
Discussion started by: Tlogine
1 Replies
10. UNIX for Advanced & Expert Users
Hello guys.
I wanted to find the System Configuration and Hardware Information on one of my servers. Here is part of the cpu info:
CPU core info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU... (2 Replies)
Discussion started by: Ymir
2 Replies
LEARN ABOUT OSX
moncontrol
MONCONTROL(3) BSD Library Functions Manual MONCONTROL(3)
NAME
moncontrol, monstartup -- control execution profile
SYNOPSIS
moncontrol(int mode);
monstartup(u_long *lowpc, u_long *highpc);
DESCRIPTION
An executable program compiled using the -pg option to cc(1) automatically includes calls to collect statistics for the gprof(1) call-graph
execution profiler. In typical operation, profiling begins at program startup and ends when the program calls exit. When the program exits,
the profiling data are written to the file gmon.out, then gprof(1) can be used to examine the results.
moncontrol() selectively controls profiling within a program. When the program starts, profiling begins. To stop the collection of his-
togram ticks and call counts use moncontrol(0); to resume the collection of histogram ticks and call counts use moncontrol(1). This feature
allows the cost of particular operations to be measured. Note that an output file will be produced on program exit regardless of the state
of moncontrol().
Programs that are not loaded with -pg may selectively collect profiling statistics by calling monstartup() with the range of addresses to be
profiled. lowpc and highpc specify the address range that is to be sampled; the lowest address sampled is that of lowpc and the highest is
just below highpc. Only functions in that range that have been compiled with the -pg option to cc(1) will appear in the call graph part of
the output; however, all functions in that address range will have their execution time measured. Profiling begins on return from
monstartup().
FILES
gmon.out execution data file
SEE ALSO
cc(1), gprof(1), profil(2)
4th Berkeley Distribution June 4, 1993 4th Berkeley Distribution