12-23-2010
read nmon files
Hi. I have a cron job running nmon -X & collecting info into the files nmon.$month$date. Files owned by root ( as the job owner ) . What is the best way to make them automatically readable for everyone. The files stored in the folder
bash-3.2$ ls -ld /system_performance/nmon_logs
drwxrwxrwx 2 root system 4096 Dec 23 00:05 /system_performance/nmon_logs
10 More Discussions You Might Find Interesting
1. AIX
Anyone ever experienced a core dump when running NMON. I am running AIX 5.3 on an 8 CPU LPAR (P570). This has only recently started to happen. (3 Replies)
Discussion started by: johnf
3 Replies
2. AIX
Can any one help where i can find articals about nomn
I need to know how to read this tools
┌─CPU-Utilisation-Small-View───────────────────────────────────────────────────┐
│ 0----------25-----------50----------75----------100│
│CPU User% Sys% Wait% Idle%| ... (3 Replies)
Discussion started by: habuzahra
3 Replies
3. AIX
HI Im new on this world.
Im working with nmon and I understand that this tool generates a files that later with excel I can see the graphcial of my server.
The problem is that this process is execute manualy and I need to meake automatic.
How can I do That.
Sorry for my english!! :o (3 Replies)
Discussion started by: jegtoro
3 Replies
4. AIX
We have processes that run on our AIX box that sometimes run away and end up consuming 99% of the CPU. I'd like to create a script that would attempt to monitor when this happens and send an email alert with the PID and CPU %. Has anyone done such a thing? I know that you can run the nmon output to... (6 Replies)
Discussion started by: ssmith001
6 Replies
5. AIX
HI,
I have downloaded nmon 3.3c nmon analyzer, and run the command on aix ./nmon -f
After that I have terminated the process and found .nmon file.
when i have tried to open that file in nmon analyzer i.e in excel I am getting the error "no valid input data nmon run may have failed"
... (8 Replies)
Discussion started by: manoj.solaris
8 Replies
6. Red Hat
Hi guys,
as per subject i am setting up NMON for the above OS but it is 64-bit Linux.
I downloaded the 32-bit NMON for RHEL45 as it is the only one available for RHEL45.
However, I ran into problem with the binary file.
# ./nmon_x86_rhel45
./nmon_x86_rhel45: error while loading shared... (13 Replies)
Discussion started by: DrivesMeCrazy
13 Replies
7. UNIX for Advanced & Expert Users
Hi the following c-code utilizing the 'read()' man 2 read method cant read in files larger that 2gig.
Hi I've found a strange problem on ubuntu64bit, that limits the data you are allowed to allocate on a 64bit platform using the c function 'read()'
The following program wont allow to allocate... (14 Replies)
Discussion started by: monkeyking
14 Replies
8. Shell Programming and Scripting
Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum.
My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see... (2 Replies)
Discussion started by: ngaisteve1
2 Replies
9. Shell Programming and Scripting
Hi
i am looking a way to look at a log file(log.txt) from the last time I've read it.
However after some days the main log file(log.txt) is rename to (log.txt.1).
So now i will have two log files as below.
log.txt.1
log.txt
Now, i have to read the log from the point where i have left... (3 Replies)
Discussion started by: sumitsks
3 Replies
10. Shell Programming and Scripting
HI,
I am trying to implement a simple shell script program that does not make use of ls or find commands as they are quite expensive on very large sets of files. So, I am trying to generate the file list myself. What I am trying to do is this:
1. Generate a file name using shell script, for... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
lprm(1) General Commands Manual lprm(1)
Name
lprm - remove jobs from line printer queue
Syntax
lprm [-Pprinter] [-] [job #...] [user...]
Description
The command removes a job, or jobs, from a printer's spool queue. Since the spooling directory is protected from users, using is normally
the only method by which a user may remove a job.
The command without any arguments deletes the currently active job if it is owned by the user who invoked
If the - flag is specified, removes all jobs which a user owns. If the super-user employs this flag, the spool queue is emptied entirely.
The owner is determined by the user's login name and host name on the machine where the command was invoked.
Specifying a user's name, or list of user names, causes to attempt to remove any jobs queued belonging to that user (or users). This form
of invoking is useful only to the super-user.
A user may dequeue an individual job by specifying its job number. This number may be obtained from the program. For example,
% lpq -l
1st: ken [job #013ucbarpa]
(standard input) 100 bytes
% lprm 13
The command announces the names of any files it removes and is silent if there are no jobs in the queue which match the request list.
The command kills off an active daemon, if necessary, before removing any spooling files. If a daemon is killed, a new one is automati-
cally restarted upon completion of file removals.
Options
- Removes all jobs owned by you only.
-P printer Removes jobs from specified printer. It may be used to specify the queue associated with a specific printer (otherwise
the default printer, or the value of the PRINTER variable in the environment is used).
Restrictions
Since there are race conditions possible in the update of the lock file, the currently active job may be incorrectly identified.
Diagnostics
``Permission denied" if the user tries to remove files other than his own.
Files
/etc/printcap printer characteristics file
/usr/spool/* spooling directories
/usr/spool/*/lock lock file used to obtain the pid of the current
daemon and the job number of the currently active job
See Also
lpq(1), lpr(1), lpd(8)
lprm(1)