01-19-2006
I think you can use the output of the following commands
echo "q" | top 35 1
ps -ef
who
Last edited by mahendramahendr; 01-19-2006 at 10:51 AM..
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Could someone point me in the correct direction or web link containing instructions for installing the System Performance Tool (aka STP) software on an IBM-AIX version 4.? machine. My client has the software (that came from their original server) on a 3" floppy. Thanks! (1 Reply)
Discussion started by: Pam
1 Replies
2. UNIX for Dummies Questions & Answers
I'm running Solaris 8 on a Sun ULTRA 5(SPARC II CPU, 270 MHz) with 64 Mb of RAM.
The machine is very, very slow even doing normal tasks such as reading mail....... I'm nearly afraid to ask it to do some real work.......
On checking out the machine(which I only received last week from our IT... (1 Reply)
Discussion started by: Kanu77
1 Replies
3. Linux
Anyone know how to fetch the system performance information by the function except the system command? These information includes CPU load,memory usage,network load,disk capacity,etc. (5 Replies)
Discussion started by: Frank2004
5 Replies
4. Shell Programming and Scripting
Hi,
I need a script which runs in the solaris system and check the system performance eg .CPU usage, and send an alert when an thresold level is
reached.
kindly help me on this. (3 Replies)
Discussion started by: jayaramanit
3 Replies
5. Solaris
Hi All,
Can someone help me out knowing all commands for getting system performance on Solaris machines.
Thanks in advance,
Yagami Light. (5 Replies)
Discussion started by: Yagami
5 Replies
6. Solaris
I have received an order from upper level manager to "verify system information via Perform/predict'. They asks me to *predict* the system performance. How can I do it as a system admin without the help of application admins and DBAs?
Thanks! (6 Replies)
Discussion started by: aixlover
6 Replies
7. HP-UX
hi every body i want to check system performance i usually use glance,top,sar and swapinfo but i confused in something so i need explanation about memory issue
first i want check the memory usage i used glance i found this parameter so i need one shows me the differences between these... (2 Replies)
Discussion started by: maxim42
2 Replies
8. Solaris
Hi
I need to know the system performance :
# echo "::memstat" | mdb -k
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 358022 2797 9%
ZFS File Data 2427072 18961 59%
Anon 1096938 8569 27%
Exec and libs 12020 93 0%
Page cache 73859 577 2%
Free... (4 Replies)
Discussion started by: dimitris
4 Replies
LEARN ABOUT PHP
parse_str
PARSE_STR(3) 1 PARSE_STR(3)
parse_str - Parses the string into variables
SYNOPSIS
void parse_str (string $str, [array &$arr])
DESCRIPTION
Parses $str as if it were the query string passed via a URL and sets variables in the current scope.
Note
To get the current QUERY_STRING, you may use the variable $_SERVER['QUERY_STRING']. Also, you may want to read the section on vari-
ables from external sources.
Note
The magic_quotes_gpc setting affects the output of this function, as parse_str(3) uses the same mechanism that PHP uses to populate
the $_GET, $_POST, etc. variables.
PARAMETERS
o $str
- The input string.
o $arr
- If the second parameter $arr is present, variables are stored in this variable as array elements instead.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
Using parse_str(3)
<?php
$str = "first=value&arr[]=foo+bar&arr[]=baz";
parse_str($str);
echo $first; // value
echo $arr[0]; // foo bar
echo $arr[1]; // baz
parse_str($str, $output);
echo $output['first']; // value
echo $output['arr'][0]; // foo bar
echo $output['arr'][1]; // baz
?>
SEE ALSO
parse_url(3), pathinfo(3), http_build_query(3), get_magic_quotes_gpc(3), urldecode(3).
PHP Documentation Group PARSE_STR(3)