03-22-2006
And next time you have a question, please post it only once - I deleted one, and merged the other two.
Check the rules
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how to get memory used by a particular process in unix? (3 Replies)
Discussion started by: superprogrammer
3 Replies
2. UNIX for Dummies Questions & Answers
Hello all
'top' command shows the top 15 processes in terms of CPU usage. Is there any other command in UNIX ,that will show the top processes in terms of memory usage ? or is there a command, that will give me the memory usage of a particular process ,if I pass the process id as a... (3 Replies)
Discussion started by: luft
3 Replies
3. Shell Programming and Scripting
How do I find the amount of memory being consumed by a particular process on AIX 5L..
Thank you (0 Replies)
Discussion started by: khopdi
0 Replies
4. Shell Programming and Scripting
hi all,
i want to write a script that checks the memory usage of processes and send a mail with the name of the process witch is using more then 300mb RAM.
dose anybody have a sample script or an idea how i can make it ?
PROCCESSES="snmpd sendmail"
for myVar in $PROCCESSES
do
... (7 Replies)
Discussion started by: tafil
7 Replies
5. AIX
How can i find the processes that is consuming most memory? I tried TOPAS and SVMON and this didn't gave me the desired result. (1 Reply)
Discussion started by: shabu
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need to monitor the memory usage of a particular process continuously. As of now I am using the following command:
ps -fu <user name> -o pid,comm,vsz | grep <process_name> | grep -v grep
The output of this command gives me what i need except i want the output to keep getting updated... (3 Replies)
Discussion started by: archana485
3 Replies
7. Filesystems, Disks and Memory
Hi,
I often hear about different types of memory statistics related to a process. e.g. resident memory, virtual memory and native memory. Can anybody please explain whats exact difference between each of them? Thanks, Pradip (0 Replies)
Discussion started by: Pradip
0 Replies
8. UNIX for Dummies Questions & Answers
How to see the entire memory of a process in hex? (1 Reply)
Discussion started by: vistastar
1 Replies
9. Emergency UNIX and Linux Support
Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking.
G (4 Replies)
Discussion started by: ggayathri
4 Replies
10. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
LEARN ABOUT PHP
output_add_rewrite_var
OUTPUT_ADD_REWRITE_VAR(3) 1 OUTPUT_ADD_REWRITE_VAR(3)
output_add_rewrite_var - Add URL rewriter values
SYNOPSIS
bool output_add_rewrite_var (string $name, string $value)
DESCRIPTION
This function adds another name/value pair to the URL rewrite mechanism. The name and value will be added to URLs (as GET parameter) and
forms (as hidden input fields) the same way as the session ID when transparent URL rewriting is enabled with session.use_trans_sid. Please
note that absolute URLs (http://example.com/..) aren't rewritten.
This function's behavior is controlled by the url_rewriter.tags php.ini parameter.
Note
Calling this function will implicitly start output buffering if it is not active already.
PARAMETERS
o $name
- The variable name.
o $value
- The variable value.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
output_add_rewrite_var(3) example
<?php
output_add_rewrite_var('var', 'value');
// some links
echo '<a href="file.php">link</a>
<a href="http://example.com">link2</a>';
// a form
echo '<form action="script.php" method="post">
<input type="text" name="var2" />
</form>';
print_r(ob_list_handlers());
?>
The above example will output:
<a href="file.php?var=value">link</a>
<a href="http://example.com">link2</a>
<form action="script.php" method="post">
<input type="hidden" name="var" value="value" />
<input type="text" name="var2" />
</form>
Array
(
[0] => URL-Rewriter
)
SEE ALSO
output_reset_rewrite_vars(3), ob_flush(3), ob_list_handlers(3).
PHP Documentation Group OUTPUT_ADD_REWRITE_VAR(3)