Sponsored Content
Operating Systems HP-UX Need information on HP-UX.... Post 302168436 by ggr on Monday 18th of February 2008 12:18:50 PM
Old 02-18-2008
docs.hp.com

Google Rosetta Stone for Unix

-GGR
 

8 More Discussions You Might Find Interesting

1. Programming

NEED Some Information!!!

Hi guys, do you know where I can find an information or example of creating a remote simulation banking application on UNIX. A client server socket programming using c language to build. using telnet to run. just a simple , add, withdraw, balance function. (1 Reply)
Discussion started by: btx
1 Replies

2. UNIX for Dummies Questions & Answers

Information

I'm new to unix and wanted to know if there are UNIX tools/programs on the market that can be loaded onto my laptop or external hard drive that I can use to practice and test what I'm learning. :) (2 Replies)
Discussion started by: Xman0ne
2 Replies

3. HP-UX

network information

Hello Guys! I am new from unix and I have a litle knowledge to some of the commands. my query is how can I view the network configuration of the station like the IP address, the NIS name , DNS etc. in windows we can get this info with the command ifconfig /all thanks, (1 Reply)
Discussion started by: eykyn17
1 Replies

4. UNIX for Dummies Questions & Answers

Need Information. Will Appreciate It

Hi guys i am new to linux, infact i have heared about it for a while now but never got it. I am prepared to give it a try but i need to know the system requirements. i have a 32bit, win xp, amd antlon 1.8ghz . will linux run fine on this system or do i need a new computer.. i have always... (2 Replies)
Discussion started by: rapzkilla
2 Replies

5. Shell Programming and Scripting

Get information like substring

I retrieved values from postgresql database return the following line name ------------ myname (1 row) how can I extract "myname" out of the line? thanks (11 Replies)
Discussion started by: uativan
11 Replies

6. UNIX for Dummies Questions & Answers

Some help and information

Well, i am here coz i have this problem: a guy is pinging me so my internet go down when he wants and the same guy is nuking my ventrilo server that i rent in a good website. I want to know how to protect me against this attack and if is possible do the same to him, i know this guy is using a payed... (2 Replies)
Discussion started by: Psike
2 Replies

7. SuSE

fault information

Hi, I want to know where can I find the fault information of the system. I mean the event that the system may be occur, not the event happened on my system. Maybe there are some libraries or other website about logs collections. Thanks a lot. Best Wishes! (0 Replies)
Discussion started by: zhaoyy
0 Replies

8. What is on Your Mind?

Not enough information...

I appreciate the fact that rules are for everyone and I screwed up by not putting a screen printout in code brackets... However, I was a bit dismayed when I received the following and tried to reply to say "Thank you" for sending me the reminder. I could not reply and had no idea what the... (4 Replies)
Discussion started by: RogerBaran
4 Replies
READPROFILE(1)						      General Commands Manual						    READPROFILE(1)

NAME
readprofile - a tool to read kernel profiling information SYNOPSIS
readprofile [options] VERSION
This manpage documents version 2.0 of the program. DESCRIPTION
The readprofile command uses the /proc/profile information to print ascii data on standard output. The output is organized in three col- umns: the first is the number of clock ticks, the second is the name of the C function in the kernel where those many ticks occurred, and the third is the normalized `load' of the procedure, calculated as a ratio between the number of ticks and the length of the procedure. The output is filled with blanks to ease readability. Available command line options are the following: -m mapfile Specify a mapfile, which by default is /usr/src/linux/System.map. You should specify the map file on cmdline if your current kernel isn't the last one you compiled, or if you keep System.map elsewhere. If the name of the map file ends with `.gz' it is decompressed on the fly. -p pro-file Specify a different profiling buffer, which by default is /proc/profile. Using a different pro-file is useful if you want to `freeze' the kernel profiling at some time and read it later. The /proc/profile file can be copied using `cat' or `cp'. There is no more support for compressed profile buffers, like in readprofile-1.1, because the program needs to know the size of the buffer in advance. -i Info. This makes readprofile only print the profiling step used by the kernel. The profiling step is the resolution of the profil- ing buffer, and is chosen during kernel configuration (through `make config'), or in the kernel's command line. If the -t (terse) switch is used together with -i only the decimal number is printed. -a Print all symbols in the mapfile. By default the procedures with 0 reported ticks are not printed. -b Print individual histogram-bin counts. -r Reset the profiling buffer. This can only be invoked by root, because /proc/profile is readable by everybody but writable only by the superuser. However, you can make readprofile setuid 0, in order to reset the buffer without gaining privileges. -M multiplier On some architectures it is possible to alter the frequency at which the kernel delivers profiling interrupts to each CPU. This option allows you to set the frequency, as a multiplier of the system clock frequency, HZ. This is supported on i386-SMP (2.2 and 2.4 kernel) and also on sparc-SMP and sparc64-SMP (2.4 kernel). This option also resets the profiling buffer, and requires supe- ruser privileges. -v Verbose. The output is organized in four columns and filled with blanks. The first column is the RAM address of a kernel function, the second is the name of the function, the third is the number of clock ticks and the last is the normalized load. -V Version. This makes readprofile print its version number and exit. EXAMPLES
Browse the profiling buffer ordering by clock ticks: readprofile | sort -nr | less Print the 20 most loaded procedures: readprofile | sort -nr +2 | head -20 Print only filesystem profile: readprofile | grep _ext2 Look at all the kernel information, with ram addresses" readprofile -av | less Browse a `freezed' profile buffer for a non current kernel: readprofile -p ~/profile.freeze -m /zImage.map.gz Request profiling at 2kHz per CPU, and reset the profiling buffer sudo readprofile -M 20 BUGS
readprofile only works with an 1.3.x or newer kernel, because /proc/profile changed in the step from 1.2 to 1.3 This program only works with ELF kernels. The change for a.out kernels is trivial, and left as an exercise to the a.out user. To enable profiling, the kernel must be rebooted, because no profiling module is available, and it wouldn't be easy to build. To enable profiling, you can specify "profile=2" (or another number) on the kernel commandline. The number you specify is the two-exponent used as profiling step. Profiling is disabled when interrupts are inhibited. This means that many profiling ticks happen when interrupts are re-enabled. Watch out for misleading information. FILES
/proc/profile A binary snapshot of the profiling buffer. /usr/src/linux/System.map The symbol table for the kernel. /usr/src/linux/* The program being profiled :-) AVAILABILITY
The readprofile command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. 4th Berkeley Distribution May 1996 READPROFILE(1)
All times are GMT -4. The time now is 09:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy