04-16-2014
that doesn't seem right. the output from the ps command does not top
10 More Discussions You Might Find Interesting
1. Solaris
Hi All,
Please let me know the command (expect top) to view the cpu usage of every process in Solaris 10.
Thanks in Advance,
Arun (1 Reply)
Discussion started by: arun.viswanath
1 Replies
2. AIX
I'm trying to monitor the CPU usage of a process and output that value to a file or variable. I know topas or nmon can tell me this in interactive mode but what I need is topas-looking output that allows me to write to a file after a discrete interval. Unlike nmon data collection to a file on top... (5 Replies)
Discussion started by: robot23
5 Replies
3. UNIX for Dummies Questions & Answers
Trying to come up with a command that will show all processes sorted from highest cpu usage to lowest. Any ideas? (9 Replies)
Discussion started by: cwsmichigan
9 Replies
4. Shell Programming and Scripting
Hi,
I have a shell script. But, upon execution of the same, the cpu usage is sometimes getting 100 % (checked executing top command).
At that point of time, my process hangs, doesn't run anymore. I need to kill it manually.
My concern is, is there any default method, by which I can check... (1 Reply)
Discussion started by: jitendriya.dash
1 Replies
5. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
6. AIX
I don't know when the process will start and end, I need write a script to trace it's cpu/memory usage when it is runing. How to write this script? (2 Replies)
Discussion started by: rainbow_bean
2 Replies
7. Shell Programming and Scripting
Hi guys,
I am currently writing a JAVA script to monitor certain unix processes through JConsole.
Upon having lots of trouble with runtime.exec, i decided to bypass the top/ps command call and just get the information straight from /proc/*pid*/whatever.
Now i can pull back any... (0 Replies)
Discussion started by: matt9949
0 Replies
8. HP-UX
Hi,
I have a multihomed system HP-UX with two NIC cards having IP address 10.9.0.13 & 10.9.0.45
I have two weblogic servers running one listening on "10.9.0.13" and the other on "10.9.0.45"
Given a PID how is it possible to extract the IP Address that the weblogic server is using and... (1 Reply)
Discussion started by: mohtashims
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I will be creating a process myself and I want to know the average CPU and RAM used by the process over the lifetime of the process. I see that there are various tools available(pidstat) for doing , I was wondering if it possible to do it in a single command while creation.
Thanks in... (3 Replies)
Discussion started by: koustubh
3 Replies
10. AIX
hi,
We have two LPARs, both have same capacity and believe same configuration. ulimit settings for oracle user is unlimited for both LPARs. Installed oracle databases with same configurations on both LPARs, both databases sync every second so volume is same. Both LPARs/databases have identical... (10 Replies)
Discussion started by: baladelaware73
10 Replies
LEARN ABOUT DEBIAN
pdl::imagergb
ImageRGB(3pm) User Contributed Perl Documentation ImageRGB(3pm)
NAME
PDL::ImageRGB -- some utility functions for RGB image data handling
DESCRIPTION
Collection of a few commonly used routines involved in handling of RGB, palette and grayscale images. Not much more than a start. Should be
a good place to exercise some of the thread/map/clump PP stuff.
Other stuff that should/could go here:
o color space conversion
o common image filters
o image rebinning
SYNOPSIS
use PDL::ImageRGB;
FUNCTIONS
cquant
quantize and reduce colours in 8-bit images
($out, $lut) = cquant($image [,$ncols]);
This function does color reduction for <=8bit displays and accepts 8bit RGB and 8bit palette images. It does this through an interface to
the ppm_quant routine from the pbmplus package that implements the median cut routine which intellegently selects the 'best' colors to
represent your image on a <= 8bit display (based on the median cut algorithm). Optional args: $ncols sets the maximum nunmber of colours
used for the output image (defaults to 256). There are images where a different color reduction scheme gives better results (it seems this
is true for images containing large areas with very smoothly changing colours).
Returns a list containing the new palette image (type PDL_Byte) and the RGB colormap.
interlrgb
Make an RGB image from a palette image and its lookup table.
$rgb = $palette_im->interlrgb($lut)
Input should be of an integer type and the lookup table (3,x,...). Will perform the lookup for any N-dimensional input pdl (i.e. 0D, 1D,
2D, ...). Uses the index command but will not dataflow by default. If you want it to dataflow the dataflow_forward flag must be set in the
$lut piddle (you can do that by saying $lut->set_dataflow_f(1)).
rgbtogr
Converts an RGB image to a grey scale using standard transform
$gr = $rgb->rgbtogr
Performs a conversion of an RGB input image (3,x,....) to a greyscale image (x,.....) using standard formula:
Grey = 0.301 R + 0.586 G + 0.113 B
bytescl
Scales a pdl into a specified data range (default 0-255)
$scale = $im->bytescl([$top])
By default $top=255, otherwise you have to give the desired top value as an argument to "bytescl". Normally "bytescl" doesn't rescale data
that fits already in the bounds 0..$top (it only does the type conversion if required). If you want to force it to rescale so that the max
of the output is at $top and the min at 0 you give a negative $top value to indicate this.
BUGS
This package doesn't yet contain enough useful functions!
AUTHOR
Copyright 1997 Christian Soeller <c.soeller@auckland.ac.nz> All rights reserved. There is no warranty. You are allowed to redistribute this
software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated
from the PDL distribution, the copyright notice should be included in the file.
perl v5.14.2 2012-05-30 ImageRGB(3pm)