08-14-2002
More information would be required - and even then it's hard to completely diagnose your problem.
1. What application(s) are running on the server?
2. How are the filesystems laid out?
3. How much memory (physical) in the server?
4. How much swap space?
5. What (if any) disk management software is being used?
6. Do you have top installed? What does it show as the top processes during the 'problem'?
7. Has the problem always occurred?
8. What changed recently - more users, more data, more cron jobs, more applications, ....
It comes down to knowing your system - something that may be hard to do if you never looked before. If you don't know how it ran before, you may not know what could have caused the change. Another thing - is this temporary slowdown seen as a problem to the users? If they don't complain, don't fix it. Just start keeping history of how it runs. Then when they do complain, you can show how it's out-grown the server in use.
Remember, adding memory can solve one problem and cause another - same with adding cpu and disk space. Rearranging how your data is laid out may help without buying anything.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Solaris
Hello everyone.
I beg your guys pardon please.
I try to ls -al in many path/directories. So, I put the code in text file which look like below;
ls -al /
ls -al /etc
ls -al /etc/default
...
however, when I paste it to Solaris over SecureCRT, it seems the code was escaped from "-" to... (0 Replies)
Discussion started by: Smith
0 Replies
3. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
I have a bash script that has been running (on SUSE 9.3) dozens of times over the past couple of years without error. Recently it has been hitting intermittent “cp: cannot stat FILE: No such file or directory” errors.
The script has nested loops that continuously process files in a... (2 Replies)
Discussion started by: jcart
2 Replies
6. Solaris
Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
procinfo
PROCINFO-NG(8) Linux System Manual PROCINFO-NG(8)
NAME
procinfo - display system statistics gathered from /proc
SYNOPSIS
procinfo [ -fdDSbrhv ] [ -nN ]
DESCRIPTION
procinfo gathers some system data from the /proc directory and prints it nicely formatted on the standard output device.
The meanings of the fields are as follows:
Memory:
See the man page for free(1)
Bootup:
The time the system was booted.
Load average:
The average number of jobs running, followed by the number of runnable processes and the total number of processes, followed by the
PID of the last process run. The pid of the last running process will probably always be procinfo's PID.
user: The amount of time spent running jobs in user space.
nice: The amount of time spent running niced jobs in user space.
system:
The amount of time spent running in kernel space. Note: the time spent servicing interrupts is not counted by the kernel (and noth-
ing that procinfo can do about it).
idle: The amount of time spent doing nothing.
uptime:
The time that the system has been up. The above four should more or less add up to this one.
page in:
The number of disk blocks paged into core from disk. 1 block is equal to 1 kiB.
page out:
The number of disk blocks paged out of core to disk. This includes regular disk-writes.
swap in:
The number of memory pages paged in from swap.
swap out:
The number of memory pages paged out to swap.
context:
The number of context switches, either since bootup or per interval.
Disk stats(hda, hdb, sda, sdb):
The number of reads and writes made to disks, whether CD-ROM, hard-drive, or USB. Shows all disks if they either are an hdX or sdX,
or if they have a non-zero read/write count.
Interrupts:
Number of interrupts serviced since boot, or per interval, listed per IRQ.
OPTIONS
-nN Pause N second between updates. This option implies -f. It may contain a decimal point. The default is 5 seconds. When run by root
with a pause of 0 seconds, the program will run at the highest possible priority level.
-d For memory, CPU times, paging, swapping, disk, context and interrupt stats, display values per second rather than totals. This
option implies -f.
-D Same as -d, except that memory stats are displayed as totals.
-S When running with -d or -D, always show values per second, even when running with -n N with N greater than one second.
-b Display numbers of bytes rather than number of I/O requests.
-r This option adds an extra line to the memory info showing 'real' free memory, just as free(1) does. The numbers produced assume that
Buffers and Cache are disposable.
-H Displays memory stats in 'Human' (base 1024) numbers (KiB, MiB, GiB), instead of implied KBytes.
-h Print a brief help message.
-v Print version info.
INTERACTIVE COMMANDS
When running procinfo fullscreen, you can change its behaviour by pressing d, D, S, r and b, which toggle the flags that correspond to
their same-named commandline-options. In addition you can press q which quits the program.
FILES
/proc The proc file system.
BUGS
All of these statistics are taken verbatim from the kernel, without any scaling. Any case where the kernel specifies that a particular
field means something different from how it is documented in this man-page, the kernel always wins.
Some features of the original procinfo were elided, as they were considered non-useful, especially as many of them don't change anymore,
and have better utilities for listing/displaying them.
SEE ALSO
free(1), uptime(1), w(1), init(8), proc(5).
AUTHOR
Adam Schrotenboer <adam@tabris.net>
v2.0 2007-05-05 PROCINFO-NG(8)