06-01-2011
Ya, I tried that... but im mainly looking for values like %comp, %noncomp values which im finding difficult to get from vmstat, svmon etc...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi !
I would like to collect every minute the data of the "topas" to file.
Under Redhat 9, it's possible to user comand "top" in batch mode ! How is it possible under unix with TOPAS ? Because there is not the parameter " -b"...
example ----> topas > filename.out
but, it doesn't... (1 Reply)
Discussion started by: cgatrader
1 Replies
2. AIX
how to capture output of topas command to text file by shell ???
I tried to do it by below method , but it is different to topas's output .
The output file include ansi code as moves cursor up # lines , moves cursor up # lines ...... :(
someone can help me ???
1. (sleep 6; echo q)|topas... (2 Replies)
Discussion started by: charles_su
2 Replies
3. Shell Programming and Scripting
hi,
can any one say how to get the server name if we know the ipaddress
ie nslookup gives ipaddress if server name is given
in the same way can i have server name if i know ipaddress
thanks & regards
babu :o (1 Reply)
Discussion started by: babu@shell
1 Replies
4. Solaris
Dear All,
I am geting error while trying to stop managed server of WEB LOGIC through the command stop_wls managed1_wlsdom02.Can anyone tell me why I am geting this error?managed1_wlsdom02.pid exists at the path mentioned.
Do you need any other details?... (0 Replies)
Discussion started by: ASHISH MISHRA
0 Replies
5. AIX
Hi,
I'm using topas to monitor CPU and Disk activity including paging space. Previously, I can see the percentage activity of the disk under column "BUSY%", now I can no longer view it (it's all zero), unless I will run IOSTAT 2 simultaneously. What would be the cause of this?
Thanks, (2 Replies)
Discussion started by: pasion
2 Replies
6. Shell Programming and Scripting
Hi there,
Is there any way to obtain a real path from a weird path. For example :
/foo/../bar/ -> /bar/
/foo/. -> /foo/
Thanks in advance
Santiago (5 Replies)
Discussion started by: chebarbudo
5 Replies
7. Shell Programming and Scripting
I am using festival speech synthesis system and I would like to allow user input in a browser. This will be taken by a php page which is then supposed to pass the input text to a perl script. The perl script should pass this text to the festival engine by executing a unix command. this in turn... (2 Replies)
Discussion started by: wairimus
2 Replies
8. Shell Programming and Scripting
the value of flag is reset inside the awk statments and is not getting echoed out of it. how can this be done??
#!/bin/ksh
flag=0
awk -F '' '$2 == "ABCD" && $6 == "MNOP"{flag=1}' file.xml
echo $flag
I am always getting the value of flag as "0" , even after the $2 is "ABCD" and $6 is... (2 Replies)
Discussion started by: skyineyes
2 Replies
9. UNIX for Advanced & Expert Users
I installed in VM the Mandriva Linux with 2.6.27 kernel.
But presently when I fire make the modules .ko does not get built.
I get the following output on firing command in the kernel module folder.
$ make
Building first_driver.c ... make: Entering directory... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
10. Shell Programming and Scripting
I have to find last delimiter in each line of a file and store the value after the last '/' in a variable in ksh script...Pls Pls help me:(The file is as shown below:
/opt/apps/cobqa/apps/abadv/bind/advc0007.bnd
/opt/apps/cobqa/apps/abbrio/bind/naac6115.bnd... (5 Replies)
Discussion started by: bhavanabahety
5 Replies
LEARN ABOUT DEBIAN
sys::syscall
Sys::Syscall(3pm) User Contributed Perl Documentation Sys::Syscall(3pm)
NAME
Sys::Syscall - access system calls that Perl doesn't normally provide access to
SYNOPSIS
use Sys::Syscall;
DESCRIPTION
Use epoll, sendfile, from Perl. Mostly Linux-only support now, but more syscalls/OSes planned for future.
Exports
Nothing by default.
May export: sendfile epoll_ctl epoll_create epoll_wait EPOLLIN EPOLLOUT EPOLLERR EPOLLHUP EPOLL_CTL_ADD EPOLL_CTL_DEL EPOLL_CTL_MOD
Export tags: :epoll and :sendfile
Functions
epoll support
$ok = epoll_defined()
Returns true if epoll might be available. (caller must still test with epoll_create)
$epfd = epoll_create([ $start_size ])
Create a new epoll filedescriptor. Returns -1 if epoll isn't available.
$rv = epoll_ctl($epfd, $op, $fd, $events)
See manpage for epoll_ctl
$count = epoll_wait($epfd, $max_events, $timeout, $arrayref)
See manpage for epoll_wait. $arrayref is an arrayref to be modified with the items returned. The values put into $arrayref are
arrayrefs of [$fd, $state].
sendfile support
$ok = sendfile_defined()
Returns true if sendfile should work on this operating system.
$sent = sendfile($sock_fd, $file_fd, $max_send)
Sends up to $max_send bytes from $file_fd to $sock_fd. Returns bytes actually sent, or -1 on error.
COPYRIGHT
This module is Copyright (c) 2005, 2006 Six Apart, Ltd.
All rights reserved.
You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
If you need more liberal licensing terms, please contact the maintainer.
Contributing
Want to contribute? See:
L<http://contributing.appspot.com/sys-syscall>
WARRANTY
This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.
AUTHORS
Brad Fitzpatrick <brad@danga.com>
perl v5.10.1 2010-04-19 Sys::Syscall(3pm)