Sponsored Content
Operating Systems Solaris ndd -set /dev/tcp tcp_host_param Post 302401505 by RTM on Saturday 6th of March 2010 01:56:30 PM
Old 03-06-2010
Unfortunately, I can't put freeware on the server.

Output from iostat, vmstat, top during a scp transfer (all of these from the new server). You have to remember, if I try a scp transfer from another server in the same location (but not on the same subnet), the transfer rate shown in the scp is 4 to 5 times faster, so the server isn't having an issue when accepting a transfer. Also, showing netstat at the time of transfer shows the increased values are getting used.

netstat -an (cut down to just the scp process and my ssh to the server)
TCP: IPv4
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
-------------------- -------------------- ----- ------ ----- ------ -----------
10.140.16.20.22 172.16.10.10.44764 280912 135 280912 0 ESTABLISHED
10.140.16.20.49395 172.16.10.10.22 280912 0 525624 0 ESTABLISHED

As you can see, the scp (first process shown) is at the rate set up with tcp_host_params. My ssh to the old server has the higher rate on Rwind of 525624.


iostat 5 200
tty ramdisk1 sd0 sd1 sd2 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
0 2 0 0 0 1 0 4 0 0 0 262 48 47 0 0 0 100
0 143 0 0 0 0 0 0 0 0 0 7 1 5 0 0 0 100
0 111 0 0 0 0 0 0 0 0 0 8 2 6 0 0 0 100
0 111 0 0 0 0 0 0 0 0 0 2 0 8 0 0 0 100
0 143 0 0 0 0 0 0 0 0 0 20 11 36 0 0 0 100
0 111 0 0 0 0 0 0 0 0 0 19 4 5 0 0 0 99
0 111 0 0 0 0 0 0 0 0 0 24 6 6 0 0 0 100
0 111 0 0 0 0 0 0 0 0 0 42 10 4 0 0 0 100
0 111 0 0 0 0 0 0 0 0 0 3 1 6 0 0 0 100
3 111 0 0 0 0 0 0 0 0 0 263 57 5 0 0 0 100

vmstat 5 200
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr rm s0 s1 s2 in sy cs us sy id
0 0 0 39429784 31169736 19 94 0 33 33 0 0 0 0 0 52 1665 3742 1331 0 0 100
0 0 0 39425768 31165392 30 128 0 13 13 0 0 0 0 0 8 1926 10266 1915 0 0 100
0 0 0 39425712 31165424 146 226 0 142 142 0 0 0 0 0 17 1633 5231 1350 0 0 100
0 0 0 39423680 31164952 40 262 0 241 241 0 0 0 0 0 37 1838 5427 1584 0 0 100
0 0 0 39421672 31163688 10 59 0 2 2 0 0 0 0 0 0 1541 2021 1164 0 0 100
0 0 0 39419568 31161488 59 289 0 17 17 0 0 0 0 0 12 1971 9501 2057 0 0 100
0 0 0 39417416 31159296 32 143 0 11 11 0 0 0 0 0 2 1498 3184 1147 0 0 100
0 0 0 39415360 31157216 9 59 0 0 0 0 0 0 0 0 0 1514 2051 1126 0 0 100
0 0 0 39413336 31155128 31 120 0 61 61 0 0 0 0 0 8 1658 10844 1217 0 0 99
snoop5.out | 110MB | 413kB/s | ETA: 00:31:16 | 12%


last pid: 6764; load avg: 0.26, 0.22, 0.19; up 0+23:33:41 18:28:48
80 processes: 79 sleeping, 1 on cpu
CPU states: 99.8% idle, 0.1% user, 0.1% kernel, 0.0% iowait, 0.0% swap
Kernel: 1583 ctxsw, 189 trap, 1727 intr, 4811 syscall, 59 flt, 8 pgout
Memory: 32G phys mem, 30G free mem, 12G total swap, 12G free swap

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
5009 AutoMon 1 29 10 32M 30M sleep 104:53 0.05% PatrolAgent
6541 v821383 1 54 0 10M 7976K sleep 0:03 0.04% sshd
2583 root 1 158 -20 63M 61M sleep 29:29 0.03% seosd
6365 root 1 54 0 5128K 4136K sleep 0:02 0.01% vmstat
6550 v821383 1 59 0 3752K 2144K sleep 0:00 0.01% sftp-server
406 root 9 59 0 10M 9504K sleep 0:58 0.00% picld
6188 root 1 59 0 4296K 3480K cpu/104 0:01 0.00% top
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How Do I set up a UNix dev environment

Hello, I am totally new to Unix. My current contract requires me to build an intranet site (nothing fancy, no forms, no cgi scripts, no search engine) for a unix platform. I develop on an NT environment using dreamweaver. I am considering buying Red Hat Linux, install that on the NT... (1 Reply)
Discussion started by: alam
1 Replies

2. IP Networking

ndd and le1

I am trying to set an interface to 100/Full, but the command I use are getting rejected. I think it is the last argument, but I don't know how to find the correct values. I am trying to use the following script, but change hme to le . echo "Setting hme interface 1: 100mb/full-duplex..." ... (2 Replies)
Discussion started by: bbrandeb49
2 Replies

3. Solaris

ndd help

Hi Guys, I need help with ndd. I was going through network FAQ but i have more questions then answers regarding ndd. #ndd -set /dev/hme instance 0 #ndd -set /dev/hme adv_100fdx_cap 1 #ndd -set /dev/hme adv_100hdx_cap 0 #ndd -set /dev/hme adv_10fdx_cap 0 #ndd -set /dev/hme adv_10hdx_cap 0... (2 Replies)
Discussion started by: nitinkgoud
2 Replies

4. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

5. Solaris

ndd matters

Hi, I would like to know whether there is any config file that i can refer to for the result of 'ndd -get /dev/tcp tcp_time_wait_interval'? When i man 'ndd', there is one statement which is -> Each driver chooses which parameters to make visible using ndd. Does it answering my question above... (3 Replies)
Discussion started by: honmin
3 Replies

6. Solaris

ndd /dev/tcp help

Solaris 10 server (SunOS 5.10 Generic_137137_09) I have a services file configured in /etc in there windows clients connect to my server on port 6034-6037 when I do the following netstat | grep TestServices it pulls all the connections active for those ports so right now I have 10 clients... (3 Replies)
Discussion started by: deaconf19
3 Replies

7. SCO

/dev/inet/tcp not listening in SCO 6.

While in SCO Openserver 5.0.7, Sybase listened to /dev/inet/tcp, the same is not working in SCO Openserver 6. The Network card is however active and pinging fine. What can be the reason? What is the way out? An early response will be appreciated. Thank you Regards TCG (2 Replies)
Discussion started by: thecobolguy
2 Replies

8. Red Hat

Os not coming up after i set mount -o remount,rw /dev/hda8

on RHEL 5.3 i did mount -o remount,rw /dev/hda8 ( this is /tmp directory ) now OS not coming up. How to resolve ?? ---------- Post updated at 04:57 PM ---------- Previous update was at 03:36 PM ---------- one of my friend told me that you have changed sticky bit permissions on /tmp... (6 Replies)
Discussion started by: rehantayyab82
6 Replies

9. Solaris

Solaris 9 ndd -set issues

Hello forum, I have a Solaris 9 Sun Fire v240 server and Sun Fire v440 Recently we made changes and installed a new switch which both of them are connected to it. Cisco Catalyst 3750. Now the Sun Server v240 is having problems with the network. It was supposed to run at 1000mbs speed. ndd... (10 Replies)
Discussion started by: br1an
10 Replies

10. Shell Programming and Scripting

How to set timeout for dev/tcp while checking hostname and port?

I have a command to check the status of hostname and port number, echo > /dev/tcp/hostname/80 echo $? 0 success case echo > /dev/tcp/hostname/809999 I got the output ------------------- connection timed out It took almost 4 minutes to time out,,, how can I set it to 10 seconds? my... (2 Replies)
Discussion started by: sam@sam
2 Replies
symlink(3)						User Contributed Perl Documentation						symlink(3)

NAME
PerlIO::via::symlink - PerlIO layers for create symlinks SYNOPSIS
open $fh, '>:via(symlink)', $fname; print $fh "link foobar"; close $fh; DESCRIPTION
The PerlIO layer "symlink" allows you to create a symbolic link by writing to the file handle. You need to write C"link $name" to the file handle. If the format does not match, "close" will fail with EINVAL. TEST COVERAGE
----------------------------------- ------ ------ ------ ------ ------ ------ File stmt branch cond sub time total ----------------------------------- ------ ------ ------ ------ ------ ------ blib/lib/PerlIO/via/symlink.pm 100.0 100.0 n/a 100.0 100.0 100.0 Total 100.0 100.0 n/a 100.0 100.0 100.0 ----------------------------------- ------ ------ ------ ------ ------ ------ AUTHORS
Chia-liang Kao <clkao@clkao.org> COPYRIGHT
Copyright 2004-2005 by Chia-liang Kao <clkao@clkao.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.18.2 2005-03-01 symlink(3)
All times are GMT -4. The time now is 05:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy