9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. Red Hat
Dear Guru,
IHAC who complaint that his CentOS is getting performance issue.
I have to help him out of there.
Could you please tell me which tools is better to gathering the whole system performance data?
-- CPU/Memory/IO(disk & Network)/swap
I would like the tools could be... (6 Replies)
Discussion started by: devyfong
6 Replies
3. UNIX for Advanced & Expert Users
As an addition to our ongoing investigation into static code analysis tools for a Perl programming we are maintaining, can anyone recommend a certain tool that he/she is experienced with?
We are already actively using perl::critic (Perl::Critic) and rats... (2 Replies)
Discussion started by: figaro
2 Replies
4. UNIX for Dummies Questions & Answers
Hey Guys,
Does anyone know how to count the separate amount of words in a text file?
e.g
the 5
and 20
Furthermore does anyone know how to convert whole numbers in decimals?
Thanks (24 Replies)
Discussion started by: John0101
24 Replies
5. UNIX and Linux Applications
When ran configure for speech tools 1.2.96-beta (festival speech synthesis) on Slackware 13.0 seems it is erroneously coded.
This code sequence gets flagged 5 times http://www.unix.com/images/icons/icon8.gif in configure:
int main() {
int j=
#if __GNUC__ == 3
... (6 Replies)
Discussion started by: slak0
6 Replies
6. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
7. Shell Programming and Scripting
General Question: If a script calls multiple external programs (external to the script, but still on unix), where do the return codes go? Let's say one of external programs fails, does the entire script fail and send a non-zero return code to the job scheduling software, or is the return code sent... (1 Reply)
Discussion started by: jnanasakti
1 Replies
8. UNIX for Dummies Questions & Answers
Hello,
Do we have any freeware which helps in alignment of code wrt spaces, sections etc?
Thanks (6 Replies)
Discussion started by: eagercyber
6 Replies
9. Answers to Frequently Asked Questions
Every now and then our users post complete programs to this site. It is especially important that these contributions don't get lost, so I will collect them here. Some of these programs are intended to demonstrate a programming technique and some are ready to run. As a guideline, the code... (0 Replies)
Discussion started by: Perderabo
0 Replies
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)