Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kgmon(8) [ultrix man page]

kgmon(8)							    Unsupported 							  kgmon(8)

Name
       kgmon - generate a dump of the operating system's profile buffers

Syntax
       /etc/kgmon [ options ] [ system ] [ memory ]

Description
       The command is used when profiling the operating system.  When no arguments are supplied, indicates the state of operating system profiling
       as running, off, or not configured.  For further information, see If the option is specified, extracts profile data from the operating sys-
       tem and produces a file suitable for later analysis by

       The  file  is first converted to a format suitable for by using the filter. The command dumps the kernel profiling data for all the proces-
       sors in the system. The command is used to create a file suitable for analysis by for any or all the processors in the system.

Options
       -b   Resumes the collection of profile data.

       -h   Stops the collection of profile data.

       -p   Dumps the contents of the profile buffers into a file.

       -r   Resets all the profile buffers.  If the option is also specified, the file is generated before the buffers are reset.

       If neither nor is specified, the state of profiling collection remains unchanged.  For example, if the option is specified and profile data
       is  being  collected,  profiling  will be momentarily suspended, the operating system profile buffers will be dumped, and profiling will be
       immediately resumed.

Diagnostics
       Users with only read permission on cannot change the state of profiling collection.  They can get a file with the warning that the data may
       be inconsistent if profiling is in progress.

Files
       Default system

       Default memory

See Also
       gprof(1), config(8), kgconv(8)

																	  kgmon(8)

Check Out this Related Man Page

KGMON(8)						      System Manager's Manual							  KGMON(8)

NAME
kgmon - generate a dump of the operating system's profile buffers SYNOPSIS
/usr/sbin/kgmon [ -b ] [ -h ] [ -r ] [ -p ] [ system ] [ memory ] DESCRIPTION
Kgmon is a tool used when profiling the operating system. When no arguments are supplied, kgmon indicates the state of operating system profiling as running, off, or not configured. (see config(8)) If the -p flag is specified, kgmon extracts profile data from the operating system and produces a gmon.out file suitable for later analysis by gprof(1). The following options may be specified: -b Resume the collection of profile data. -h Stop the collection of profile data. -p Dump the contents of the profile buffers into a gmon.out file. -r Reset all the profile buffers. If the -p flag is also specified, the gmon.out file is generated before the buffers are reset. If neither -b nor -h is specified, the state of profiling collection remains unchanged. For example, if the -p flag is specified and pro- file data is being collected, profiling will be momentarily suspended, the operating system profile buffers will be dumped, and profiling will be immediately resumed. FILES
/vmunix - the default system /dev/kmem - the default memory SEE ALSO
gprof(1), config(8) DIAGNOSTICS
Users with only read permission on /dev/kmem cannot change the state of profiling collection. They can get a gmon.out file with the warn- ing that the data may be inconsistent if profiling is in progress. 4.2 Berkeley Distribution November 17, 1996 KGMON(8)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

changed .profile but didnt ./.profile, yet reflected changes

hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix. please explain.. thanks (4 Replies)
Discussion started by: yls177
4 Replies

2. UNIX for Dummies Questions & Answers

problem with .profile

Hi, i am changing something in .profile file and then esc :wq!. when i do the cat i can see the changes. but to bring the .profile in memory i have to do . .profile.but it says error while doing that is . .profile ksh: .profile: not found. can any body help thanks in advance sam71 (7 Replies)
Discussion started by: sam71
7 Replies

3. UNIX for Advanced & Expert Users

How to do core dump analysis

Hi All, I am new to unix environment. Please tell me how to do coredump analysis. Please explain clearly with example. What are the details are available in the core. Thanks in advance (5 Replies)
Discussion started by: sip
5 Replies

4. UNIX for Dummies Questions & Answers

.profile problem using set -o vi

The “set -o vi” command won't run in the .profile. WHY? This has me puzzled as the problem seems to be too simple, but can't figure it out. Here's the info... Running... Generic sun4u sparc SUNW,Ultra-5_10 K shell Here's the .profile # Copyright (c) 2001 by Sun Microsystems, Inc. # All... (12 Replies)
Discussion started by: jimmyc
12 Replies

5. UNIX for Dummies Questions & Answers

Executable files

This question always confuses me :- Suppose I write a program and compile it on a machine with operating system A and processor B will the exe file run on a machine with operating system A2 but processor B operating system A but processor B2 operating system A2 and processor B2........ ... (9 Replies)
Discussion started by: nervous
9 Replies

6. UNIX for Dummies Questions & Answers

difference between /etc/profile and .profile?

What is the difference between /etc/profile and .profile? (5 Replies)
Discussion started by: gehlnar
5 Replies

7. Solaris

File .profile-EIS

Where is the file .profile-EIS???:confused::confused: (6 Replies)
Discussion started by: flavio841
6 Replies

8. Programming

Building an operating system for senior project?

Hey guys! this is my first post on this site. I was hoping you guys could help me out. I am going to be a senior this year and I want to build an operating system from scratch or at least do as much of as I can by myself. I want to build nothing big like ubuntu but something smaller looking that... (10 Replies)
Discussion started by: Hoonathan
10 Replies

9. Solaris

The .profile file has only exit command

Hi everyone, This is my first post in the forum. :-) I was asked this question for an interview recently. Q: What will happen if the .profile file has only the exit command in it and nothing else. (Assume that every other settings are in place to run the .profile file, when the user... (6 Replies)
Discussion started by: avinashpv
6 Replies

10. HP-UX

Create a new user from using existing users profile

Hello, Just wanting to know if it is possible. Also I am new to command line. I am running 5.1b, if that matters. Thanks in advance (10 Replies)
Discussion started by: bcha
10 Replies

11. Red Hat

Unalias ls and vi

I have a question on issuing the unalias in my .profile. I want to turn off color in both my ls command and using vi to edit, and when I set these 2 statements in my .profile it accomplishes that task. unalias ls unalias vi However, a few of my crontab jobs require me to fire off the job... (6 Replies)
Discussion started by: islanderman
6 Replies

12. Emergency UNIX and Linux Support

Time out Issue

Users connecting to AIX server face disconnection after a period of inactivity. I have tried checking the /etc/profile.The TMOUT value seems to be 0.However there is disconnection being faced. Can someone help me to identify other areas that I probably may be missing. (4 Replies)
Discussion started by: ggayathri
4 Replies

13. HP-UX

/etc/profile error

Hi Please can you help me in solving the following error as I am logging in with any user, on my HP-UX system. The error is /etc/profile: Syntax error: `then' is not matched. I have looked into /etc/profileline 125, but I dont see anything wrong. (7 Replies)
Discussion started by: fretagi
7 Replies

14. AIX

Unable to change memory

Hello All, So it goes like this... I logged in to the HMC console , trying to change the memory of LPAR from 20 to 25 GB . It says that "your profile is configured to use maximum of only 20 GB" and not able to increase the memory. I created a new profile and filled "maximum memory " field... (4 Replies)
Discussion started by: gull05
4 Replies