can someone tell me a good site to go to in order to learn this. please do not recommen nay books because i dont have interest in that. if you know of any good sites with good straight forward explanation on how to split loads on machines that has excessive loading, please let me know
Also,... (1 Reply)
Hi all,
long time ago I posted something, but now, it is needed again :(
Currently, I am handling with a big NFS Server for more than 200 clients, this sever has to work with 256 NFSDs. Because of this huge amount of NFSDs, there are thousands of small write accesses down to the disk and... (3 Replies)
Hi to all,
I'm interested in finding an introduction about Performance Tuning under Unix (or Linux); can somebody please point me in the right direction?
Best regards (1 Reply)
Sorry,
This is out of scope of this group.But I require the clarification pretty urgently.
My Oracle database is parallely enabled.
Still,in a particular table queries do not work "parallely" always.
How is this? (9 Replies)
Hi All,
In last one week, i have posted many questions in this portal. At last i am succeeded to make my 1st unix script.
following are 2 points where my script is taking tooooo long.
1. Print the total number of records excluding header & footer. I have found that awk 'END{print NR -... (2 Replies)
Dear friends. can anybody suggest me what to be considered in order to achieve maximum performance of AIX on which DB2 will be installed
Thanks is advance :) (1 Reply)
Dear all,
I have a Local zone , where users feel that performance is not good.
Is it wise to collect the inputs from the local zone rather than taking from the global zone.
And also Can I tune from Global zone , so that it will reflect in local zone.
Rgds
rj (2 Replies)
Hello Forum,
Well I am fairly new to this Solaris os thing. One thing I would like to check for system health and performance.
I know the codes like
prstat,vmstat,sar,iostat,netstat,prtdiag -v,
What else does a want to be sys admin have to look for when checking a solaris box?
I know... (3 Replies)
I have a IBM Power9 server coupled with a NVMe StorWize V7000 GEN3 storage, doing some benchmarks and noticing that single thread I/O (80% Read / 20% Write, common OLTP I/O profile) seems slow.
./xdisk -R0 -r80 -b 8k -M 1 -f /usr1/testing -t60 -OD -V
BS Proc AIO read% IO Flag IO/s ... (8 Replies)
Discussion started by: c3rb3rus
8 Replies
LEARN ABOUT PHP
socket_write
SOCKET_WRITE(3) 1 SOCKET_WRITE(3)socket_write - Write to a socketSYNOPSIS
int socket_write (resource $socket, string $buffer, [int $length])
DESCRIPTION
The function socket_write(3) writes to the $socket from the given $buffer.
PARAMETERS
o $socket
-
o $buffer
- The buffer to be written.
o $length
- The optional parameter $length can specify an alternate length of bytes written to the socket. If this length is greater than
the buffer length, it is silently truncated to the length of the buffer.
RETURN VALUES
Returns the number of bytes successfully written to the socket or FALSE on failure. The error code can be retrieved with
socket_last_error(3). This code may be passed to socket_strerror(3) to get a textual explanation of the error.
Note
It is perfectly valid for socket_write(3) to return zero which means no bytes have been written. Be sure to use the === operator to
check for FALSE in case of an error.
NOTES
Note
socket_write(3) does not necessarily write all bytes from the given buffer. It's valid that, depending on the network buffers etc.,
only a certain amount of data, even one byte, is written though your buffer is greater. You have to watch out so you don't uninten-
tionally forget to transmit the rest of your data.
SEE ALSO socket_accept(3), socket_bind(3), socket_connect(3), socket_listen(3), socket_read(3), socket_strerror(3).
PHP Documentation Group SOCKET_WRITE(3)