08-14-2002
Thatīs just the hint I needed.
Thanks perderabo
10 More Discussions You Might Find Interesting
1. Debian
I have a quad cpu Debian box running as an email server. I'm looking to see how the cpu's are being used. Top just shows them alltogether with the 4 processes running.
Does anyone know how I can get Top to show me each cpu like the HP-UX top does? Thanks.
top - 14:56:08 up 2:35, 1 user, ... (1 Reply)
Discussion started by: natter
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need a clarification.
Is there any difference between AIX box and Sun Solaris box?
The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box.
Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies
3. UNIX for Dummies Questions & Answers
Hello all
This is a sample vmstat output ...
$ vmstat 2 2
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr hx hx hx hx in sy cs us sy id
1 0 0 23105784 7810488 323 767 1742 5 5 0 0 0 0 0 0 683 780 457 43 ... (9 Replies)
Discussion started by: luft
9 Replies
4. UNIX for Dummies Questions & Answers
rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh`
if $rshstatus <>0 then
errstatus=1
mailx -s "xirsol8dr" ordba@xxx.com >> $log_dr
else if errstatus=0
echo "status to xirsol8dr successful"
can anyone provide if this is t he correct way to do this or is there a better way? (1 Reply)
Discussion started by: bpm12
1 Replies
5. Solaris
Can anyone tell me what to look for in terms of abnormal numbers on vmstat or iostat?
I have a box with figures pbelow, how would I tell if it's underperforming & what remedies \ perfomance tuning could I perform?
thanks all
-------------------------------------
-vmstat 5 5
kthr ... (4 Replies)
Discussion started by: stevie_velvet
4 Replies
6. Solaris
Hi all,
I have a server running an Oracle database that is part of a Solaris M5000 container. Presumably this is referred to as a zone within a cluster, not sure if I get the terminology right.
Anyway, a third-party manages the zone and unfortunately is not "helpful/friendly" to assist me on... (1 Reply)
Discussion started by: newbie_01
1 Replies
7. Solaris
last pid: 29502; load avg: 21.8, 20.7, 20.4; up 8+08:49:09
763 processes: 589 sleeping, 9 running, 160 zombie, 5 on cpu
CPU states: 0.0% idle, 28.2% user, 71.8% kernel, 0.0% iowait, 0.0% swap
Memory: 32G phys mem, 2042M free mem, 8198M total swap, 8020M free swap
kthr ... (2 Replies)
Discussion started by: chidori
2 Replies
8. Solaris
Hello Guru's
I'm trying to take the output of solaris top command and output to a txt file every few minutes. The issue that I'm experiencing is that I can run the following:
#!/bin/bash
#
logfile="/usr/mvf/morris/top.log"
# echo... (2 Replies)
Discussion started by: littlemorris
2 Replies
9. UNIX for Dummies Questions & Answers
RHEL 5.4
Our Linux machine seemed to be running slow. So, I ran the top and vmstat commands.
Question1.
I can see the process 11517 consuming 100% CPU . But that just means that this process totally utilizes one of the cores in a mult-core CPU. Right ? This machine apparently has two... (2 Replies)
Discussion started by: kraljic
2 Replies
10. UNIX for Beginners Questions & Answers
How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT CENTOS
ssl_ctx_set_psk_server_callback
SSL_CTX_use_psk_identity_hint(3) OpenSSL SSL_CTX_use_psk_identity_hint(3)
NAME
SSL_CTX_use_psk_identity_hint, SSL_use_psk_identity_hint, SSL_CTX_set_psk_server_callback, SSL_set_psk_server_callback - set PSK identity
hint to use
SYNOPSIS
#include <openssl/ssl.h>
int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *hint);
int SSL_use_psk_identity_hint(SSL *ssl, const char *hint);
void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx,
unsigned int (*callback)(SSL *ssl, const char *identity,
unsigned char *psk, int max_psk_len));
void SSL_set_psk_server_callback(SSL *ssl,
unsigned int (*callback)(SSL *ssl, const char *identity,
unsigned char *psk, int max_psk_len));
DESCRIPTION
SSL_CTX_use_psk_identity_hint() sets the given NULL-terminated PSK identity hint hint to SSL context object ctx.
SSL_use_psk_identity_hint() sets the given NULL-terminated PSK identity hint hint to SSL connection object ssl. If hint is NULL the current
hint from ctx or ssl is deleted.
In the case where PSK identity hint is NULL, the server does not send the ServerKeyExchange message to the client.
A server application must provide a callback function which is called when the server receives the ClientKeyExchange message from the
client. The purpose of the callback function is to validate the received PSK identity and to fetch the pre-shared key used during the
connection setup phase. The callback is set using functions SSL_CTX_set_psk_server_callback() or SSL_set_psk_server_callback(). The
callback function is given the connection in parameter ssl, NULL-terminated PSK identity sent by the client in parameter identity, and a
buffer psk of length max_psk_len bytes where the pre-shared key is to be stored.
RETURN VALUES
SSL_CTX_use_psk_identity_hint() and SSL_use_psk_identity_hint() return 1 on success, 0 otherwise.
Return values from the server callback are interpreted as follows:
> 0 PSK identity was found and the server callback has provided the PSK successfully in parameter psk. Return value is the length of psk in
bytes. It is an error to return a value greater than max_psk_len.
If the PSK identity was not found but the callback instructs the protocol to continue anyway, the callback must provide some random
data to psk and return the length of the random data, so the connection will fail with decryption_error before it will be finished
completely.
0 PSK identity was not found. An "unknown_psk_identity" alert message will be sent and the connection setup fails.
1.0.1e 2014-06-17 SSL_CTX_use_psk_identity_hint(3)