Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

kgconv(8) [ultrix man page]

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

Name
       kgconv - convert a dump from kgmon (kgdump.out) to gprof format (gmon.out)

Syntax
       kgconv [ -d ] [ -ncpunumber ] [ dumpfile ] [ system ]

Description
       The  command  is used to convert the dump file (kgdump.out) produced by to the format required by The output file is gmon.out, which can be
       directly used by If the -n flag is not used, kgconv dumps the cumulative profile data about all the processors in the system.

Options
       -ncpunumber    Converts profile data for the specified processor only.

       -d	      Uses the dumpfile specified as the next argument, instead of kgdump.out as the input file.

Files
       default system

       default input dump file

       output file used by

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

																	 kgconv(8)

Check Out this Related Man Page

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

NAME
kgmon -- generate a dump of the operating system's profile buffers SYNOPSIS
kgmon [-bdhpr] [-M core] [-N system] DESCRIPTION
kgmon is a tool used when profiling the operating system. When no arguments are supplied, kgmon indicates the state of operating system pro- filing as running, off, or not configured (see config(1)). If the -p flag is specified, kgmon extracts profile data from the operating sys- tem and produces a gmon.out file suitable for later analysis by gprof(1). The options are as follows: -b Resume the collection of profile data. -d Enable debug output. -h Stop the collection of profile data. -M core Extract values associated with the name list from the specified core instead of the default /dev/kmem. -N system Extract the name list from the specified system instead of the default /netbsd. -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 profile data is being collected, profiling will be momentarily suspended, the operating system profile buffers will be dumped, and profiling will be immediately resumed. FILES
/netbsd the default system /dev/kmem the default memory 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 warning that the data may be inconsistent if profiling is in progress. SEE ALSO
config(1), gprof(1) HISTORY
The kgmon command appeared in 4.2BSD. BSD
June 6, 1993 BSD
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

A short history of UNIX by l.madden@ic.ac.uk

<h1>A short history of UNIX</h1> <p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell Laboratories, which is the research arm of the giant American corporation ATT. He and many colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
Discussion started by: Neo
0 Replies

2. Answers to Frequently Asked Questions

Lost root password / Can't login as root

We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies

3. Programming

How do you detect keystrokes in canonical mode?

I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
Discussion started by: Ultrix
4 Replies

4. UNIX for Dummies Questions & Answers

Linux (Ubuntu) = Unix (NOT IMPORTANT - NO RUSH)

I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu. In other words is there kind of an equal Linux with Unix? Also what do I need to... (10 Replies)
Discussion started by: Linux_Guy
10 Replies

5. IP Networking

Can I change my hostname without messing things up?

I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)
Discussion started by: Ultrix
4 Replies