07-28-2005
linux prog for server space, load etc
Hi all
what are the ways by which we can know and generate a report of the space remaining, memory(ram) used and the load on the server over a period of time.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I'm facing a big problem with my hosting server (Dual Xeon 2.4GHz), I'm having a load in the CPU usage and the memory (maybe it's related) ALSO mySQL:
Server Load 5.34 (2 cpus) (to 22 sometime)
Memory Used 68.4 % (to 70% sometime)
When I go to 'CPU/Memory/MySQL Usage' I found:
... (3 Replies)
Discussion started by: Kh@lid
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
How do we check the free space for load servers?Is there any 'df'
command available for this?Your help is appreciated.
With Regards
Dileep (5 Replies)
Discussion started by: DILEEP410
5 Replies
3. UNIX for Dummies Questions & Answers
Hi everybody,
Can anyone suggest me some good books on Linux Prog.. I know richard stevens is always there.. But any specific books on Linux Porgramming and Networking in Linux.. Wud be of great help if anybody replies.. (4 Replies)
Discussion started by: srikumar_cs
4 Replies
4. Shell Programming and Scripting
Dear Friends,
I want to know how to call a Linux commands in C programs. (1 Reply)
Discussion started by: krishna_sicsr
1 Replies
5. Linux
Hi
anyone know how to setup a setup a virtual IP to control 2 server load for linux? i only have 2 server, i don want to buy another just for the load balance... is there a way to do it?
Sumemr (0 Replies)
Discussion started by: summerpeh
0 Replies
6. Linux
hi , i have 2 linux boxes with linksys wireless adapters everything is working fine.now i am trying to run client-server program written in C on these boxes but none of the box is receiving any packets. how different it is when using wireless . All these codes that i have works fine on Unix though... (1 Reply)
Discussion started by: phantom308
1 Replies
7. Solaris
Hello,
i am using Solaris 10, The sar running in my system might be corrupted, but not sure why as there has been no updates to it ( to the best of my knowledge) and it was working fine until few days back. If i try to get sar reports using sar -o <filename> 60 180
there is no error but the... (2 Replies)
Discussion started by: nimi20
2 Replies
8. Shell Programming and Scripting
Hi,
I am trying to run a sas prog on a remote server using ssh.
I have got the command that I am using in the below paragraph. With it, I was able to run shell scripts but when I tried 'sas' it errored out. I have got my keys exchanged so when I say ssh serverA I automatically connect to my... (4 Replies)
Discussion started by: coolavi
4 Replies
9. Programming
Here is a useful SSL (HTTPS) application for anyone with a remote Linux server they want to keep an eye on using Blynk and the NodeMCU ESP8266. This little app also works (have tested as well) on the WeMos D1 ESP8266 Arduino board.
The NodeMCU setup could not be easier, just find a... (8 Replies)
Discussion started by: Neo
8 Replies
10. Programming
Here we go....
Preface:
..... so in a galaxy far, far, far away from commercial, data sharing corporations.....
For this project, I used the ESP-WROOM-32 as an MQTT (publish / subscribe) client which receives Linux server "load averages" as messages published as MQTT pub/sub messages.... (6 Replies)
Discussion started by: Neo
6 Replies
LEARN ABOUT DEBIAN
loadwatch
LOADWATCH(1) General Commands Manual LOADWATCH(1)
NAME
loadwatch - run a program when machine is idle
SYNOPSIS
loadwatch [options] -p pid | [--] prog [args]
DESCRIPTION
loadwatch either spawns a child process prog with the arguments args and controls it with all its process group, or takes control of an
already running process with pid pid with all its process group.
loadwatch allows the controlled processes to run while the load average remains below high_limit. Every delay seconds, loadwatch checks the
load average. If the load is above high_limit, the child is suspended; the child is resumed when the load falls below low_limit.
OPTIONS
A summary of options is included below.
-h high_limit
A decimal value that sets the system load at which the child process will be suspended. (Default: 1.25)
-l low_limit
A decimal value that sets the system load at which the child process will be resumed. (Default: 0.25)
-d delay
An integral number of seconds that sets how often the system load will be checked. (Default: 10)
-n copies
An integer value that sets the number of copies of prog to run. (Default: 1)
-u file
Create a UNIX domain socket file for use by lw-ctl.
-p pid The pid of the program that should be controlled by loadwatch (with all its process group).
SEE ALSO
lw-ctl(1), nice(1)
BUGS
You should choose low_limit and high_limit carefully. When the load drops below low_limit, the process(es) will be resumed, and it should
not, by itself, cause the load to raise above high_limit, or the whole will oscillate, periodically suspending and resuming the
process(es).
Similarly, if several instances of loadwatch are running, they may resume their processes at the same time, leading to oscillations if the
limits are not carefully chosen. Hence, each instance of loadwatch affects every other instance on the computer, and should not be consid-
ered in isolation.
AUTHOR
This manual page was written by Dale E. Martin <dmartin@debian.org>, for the Debian GNU/Linux system (but may be used by others). It was
then updated by Nicolas Boullis <nboullis@debian.org>.
July 2003 LOADWATCH(1)