8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections.
tail -f /var/log/httpd/access_log shows no activity
/var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies
2. UNIX and Linux Applications
Hello,
on my VPS load is above normal. It is around 2.00 all the time.
But VPS has assigned:
1000 CPU units, one core.
Does it mean VPS needs faster CPU, or can balance high load any other way?
The load is 70% used by process: bogofilter
the maillog file is full of:
vps qmail:... (2 Replies)
Discussion started by: postcd
2 Replies
3. UNIX for Dummies Questions & Answers
I need to write a script which can send files via sftp communication continously for half an hour or any given duration of time. I have already written a batch file to send multiple file via SFTP.
but I need to know how can we set a duration of half an hour through shell script. Can we use sleep... (2 Replies)
Discussion started by: talk1234
2 Replies
4. Shell Programming and Scripting
can someone suggest me some code in any language that will increase CPU and memory both. (3 Replies)
Discussion started by: learnbash
3 Replies
5. AIX
Hi,
I have a 10GB iSCSI LUN attached to an AIX 5.3 system. I increased the LUN to 15GB, but the system is still showing 10GB as the Total Size.
How can I get the OS to see the extra space? Do I have to reboot the system? (2 Replies)
Discussion started by: bbbngowc
2 Replies
6. Programming
hi all i got a assignment but this is part of it only..
i need the logic that all..
below is the kind of output that i want to get.
1
12
123
1234
12345
2345
345
45
5
i noe i need to use for loop cos currently i am doing a short cut way which is (1 Reply)
Discussion started by: xiaojesus
1 Replies
7. Solaris
hi,
i installed solaris 9 on my v240 server on 36gb disk. here are the ouputs of the df -h command:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.6G 3.4G 6.1G 36% /
/proc 0K 0K 0K 0% /proc
mnttab ... (6 Replies)
Discussion started by: xuc_xich_duc
6 Replies
8. Shell Programming and Scripting
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies
CYTUNE(8) System Administration CYTUNE(8)
NAME
cytune - tune driver parameters for Cyclades-Z multiport serial card
SYNOPSIS
cytune [-q [-i interval]] [{-s|-S} value] [-g|-G] [{-t|-T} timeout] tty...
DESCRIPTION
cytune queries and modifies the interruption threshold for the Cyclades driver. Each serial line on a Cyclades card has a 12-byte FIFO for
input (and another 12-byte FIFO for output). The "threshold" specifies how many input characters must be present in the FIFO before an
interruption is raised. When a Cyclades tty is opened, this threshold is set to a default value based on baud rate:
Baud Threshold
50-4800 10
9600 8
19200 4
38400 2
57600-150000 1
If the threshold is set too low, the large number of interruptions can load the machine and decrease overall system throughput. If the
threshold is set too high, the FIFO buffer can overflow, and characters will be lost. Slower machines, however, may not be able to deal
with the interrupt load, and will require that the threshold be adjusted upwards.
If the cyclades driver was compiled with ENABLE_MONITORING defined, the cytune command can be used with the -q option to report interrupts
over the monitoring interval and characters transferred over the monitoring interval. It will also report the state of the FIFO. The max-
imum number of characters in the FIFO when an interrupt occurred, the instantaneous count of characters in the FIFO, and how many charac-
ters are now in the FIFO are reported. This output might look like this:
/dev/cubC0: 830 ints, 9130 chars; fifo: 11 threshold, 11 max, 11 now
166.259866 interrupts/second, 1828.858521 characters/second
This output indicates that for this monitoring period, the interrupts were always being handled within one character time, because max
never rose above threshold. This is good, and you can probably run this way, provided that a large number of samples come out this way.
You will lose characters if you overrun the FIFO, as the Cyclades hardware does not seem to support the RTS RS-232 signal line for hardware
flow control from the DCE to the DTE.
In query mode cytune will produce a summary report when ended with a SIGINT or when the threshold or timeout is changed.
There may be a responsiveness vs. throughput tradeoff. The Cyclades card, at the higher speeds, is capable of putting a very high inter-
rupt load on the system. This will reduce the amount of CPU time available for other tasks on your system. However, the time it takes to
respond to a single character may be increased if you increase the threshold. This might be noticed by monitoring ping(8) times on a SLIP
link controlled by a Cyclades card. If your SLIP link is generally used for interactive work such as telnet(1), you may want to leave the
threshold low, so that characters are responded to as quickly as possible. If your SLIP link is generally used for file transfer, WWW, and
the like, setting the FIFO to a high value is likely to reduce the load on your system while not significantly affecting throughput.
Alternatively, see the -t or -T options to adjust the time that the cyclades waits before flushing its buffer. Units are 5ms.
If you are running a mouse on a Cyclades port, it is likely that you would want to maintain the threshold and timeout at a low value.
OPTIONS
-s value
Set the current threshold to value characters. Note that if the tty is not being held open by another process, the threshold will
be reset on the next open. Only values between 1 and 12, inclusive, are permitted.
-t value
Set the current flush timeout to value units. Note that if the tty is not being held open by another process, the threshold will be
reset on the next open. Only values between 0 and 255, inclusive, are permitted. Setting value to zero forces the default, cur-
rently 0x20 (160ms), but soon to be 0x02 (10ms). Units are 5 ms.
-g Get the current threshold and timeout.
-S value
Set the default threshold to value characters. When the tty is next opened, this value will be used instead of the default. Only
values between 1 and 12, inclusive, are permitted.
-T value
Set the default flush timeout to value units. When the tty is next opened, this value will be used instead of the default. If
value is zero, then the the value will default to 0x20 (160ms), soon to be 0x02 (10ms).
-G Get the default threshold and flush timeout values.
-q Gather statistics about the tty. The results are only valid if the Cyclades driver has been compiled with ENABLE_MONITORING
defined. This is probably not the default.
-i interval
Statistics will be gathered every interval seconds.
BUGS
If you run two copies of cytune at the same time to report statistics about the same port, the 'ints', 'chars', and 'max' value will be
reset and not reported correctly. cytune should prevent this, but does not.
FILES
/dev/ttyC[0-8]
/dev/cubC[0-8]
SEE ALSO
setserial(8)
AVAILABILITY
The cytune command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux March 1995 CYTUNE(8)