03-06-2014
Thank you Perderabo, seams this is the only option, I was thinking on other methods of collecting data.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
With AIX 5.3 is it possible to run a mksysb with users logged into the system?
The users are accessing a database app that runs on a separate physical disk than the system files. Does this even matter?
Thanks (1 Reply)
Discussion started by: samsa1mi
1 Replies
2. AIX
Hi,
I want to find program's file read,write for a particular time.For example i am executing an application called test1, this will get input from some parameter files(file1,file2,file3) and it will write to some files(file4,file5), so i want to execute one program which will capture these... (3 Replies)
Discussion started by: gnanadurai_it
3 Replies
3. Shell Programming and Scripting
I need to monitor system activity (RAM, CPU usage, execution time)
while running some tests on solaris, linux and aix and save the output.
Please advise whether there's a utility available for these systems?
How can time the execution of the command?
Thanks! (2 Replies)
Discussion started by: smovla
2 Replies
4. UNIX for Dummies Questions & Answers
When I choose to encrypt my drive during a Linux install, it encryps it, but I receive errors in dmesg and in ~/.xsessions-errors during use. The first error is in dmesg where it sometimes shows errors writing to the encypted device. The second error is in ~/.xsessions-errors with an error about... (0 Replies)
Discussion started by: justgoogleit
0 Replies
5. Red Hat
Hi all,
i need to collect all system activities data(processes running, disk details, memory, etc), system logs and things related.
i heard of cfg2html but its not available for my CentOS distro(i may need to install separately but thats not what i wana do).
i can use sar for syatem... (1 Reply)
Discussion started by: ajayyadavmca
1 Replies
6. Red Hat
I have 2 RHEL 5.9 system where customized applications are running.
These 2 servers are with in a network (LAN) with each other.One application in say Server 1 can talk to another application in server 2 and vice versa.
The applications are exchanging data among each other.
Recently I am... (0 Replies)
Discussion started by: Anjan Ganguly
0 Replies
LEARN ABOUT PHP
ssh2_methods_negotiated
SSH2_METHODS_NEGOTIATED(3) 1 SSH2_METHODS_NEGOTIATED(3)
ssh2_methods_negotiated - Return list of negotiated methods
SYNOPSIS
array ssh2_methods_negotiated (resource $session)
DESCRIPTION
Returns list of negotiated methods.
PARAMETERS
o $session
- An SSH connection link identifier, obtained from a call to ssh2_connect(3).
RETURN VALUES
EXAMPLES
Example #1
Determining what methods were negotiated
<?php
$connection = ssh2_connect('shell.example.com', 22);
$methods = ssh2_methods_negotiated($connection);
echo "Encryption keys were negotiated using: {$methods['kex']}
";
echo "Server identified using an {$methods['hostkey']} with ";
echo "fingerprint: " . ssh2_fingerprint($connection) . "
";
echo "Client to Server packets will use methods:
";
echo " Crypt: {$methods['client_to_server']['crypt']}
";
echo " Comp: {$methods['client_to_server']['comp']}
";
echo " MAC: {$methods['client_to_server']['mac']}
";
echo "Server to Client packets will use methods:
";
echo " Crypt: {$methods['server_to_client']['crypt']}
";
echo " Comp: {$methods['server_to_client']['comp']}
";
echo " MAC: {$methods['server_to_client']['mac']}
";
?>
SEE ALSO
ssh2_connect(3).
PHP Documentation Group SSH2_METHODS_NEGOTIATED(3)