I'm trying to write a C program to view server statistics such as:
- server general information
- CPU usage
- memory usage
- running processes
Cany anybody gives me hints on those system calls ??
ps: I'm using Tru64 unix (6 Replies)
Is there any way to get the file descriptor statistics of a socket file descriptor? I know that the fstat, stat system calls are for this purpose, but I want to know it there any way to get socket connection statistics for a file descriptor(like socket flags, connection type etc).
Does /proc... (3 Replies)
Hello
What commands can give following type of information about the server:
Time: 20080331.12:10:39
Current CPU: 97.0%
Current Memory: 3.7%
Current Disk Space: 76%
The resources on server is currently not available.
Current CPU, Memory, or Disk Space is exceeding threshold
Waiting for... (2 Replies)
Hello
If there is a way to get a statistics from Aix box server from a month.
cpu use, memory, disc use, etc.
Maybe via smitty or I need to do a script.
The os is Aix 5.3
Greetings (8 Replies)
Hi,
I have 3 columns in a file listed below.
X Y X/(X+Y)
1 1 0.5
1 1 0.5
4 1 0.8
1 1 0.5
6 1 0.857142857
1 1 0.5
23 1 0.958333333
Now I want to find confidence interval using the formula for each row.
(p-2 sqrt p(1-p)/(x+y), p+2... (7 Replies)
Hi,
Can someone advise what "generic" command can I use to show statistics of a process or a running script/process?
For example, I want to know how many hours/minutes it's taken to run or has been running, how much CPU it used and how much memory it used or uses.
I want to be able to... (2 Replies)
Hello every body
if I want to get the following statistics from a text file
1- sorted the n frequent words
2- sorted the n frequent characters
3- sorted the n frequent diagrams (tow letter together like th OR he)
4- sorted frequent n trigrams like (the OR all etc. )
5- any character... (10 Replies)
Discussion started by: khaled79
10 Replies
LEARN ABOUT BSD
ching
CHING(6) Games Manual CHING(6)NAME
ching - the book of changes and other cookies
SYNOPSIS
/usr/games/ching [ hexagram ]
DESCRIPTION
The I Ching or Book of Changes is an ancient Chinese oracle that has been in use for centuries as a source of wisdom and advice.
The text of the oracle (as it is sometimes known) consists of sixty-four hexagrams, each symbolized by a particular arrangement of six
straight (---) and broken (- -) lines. These lines have values ranging from six through nine, with the even values indicating the broken
lines.
Each hexagram consists of two major sections. The Judgement relates specifically to the matter at hand (E.g., "It furthers one to have
somewhere to go.") while the Image describes the general attributes of the hexagram and how they apply to one's own life ("Thus the supe-
rior man makes himself strong and untiring.").
When any of the lines have the values six or nine, they are moving lines; for each there is an appended judgement which becomes signifi-
cant. Furthermore, the moving lines are inherently unstable and change into their opposites; a second hexagram (and thus an additional
judgement) is formed.
Normally, one consults the oracle by fixing the desired question firmly in mind and then casting a set of changes (lines) using
yarrow-stalks or tossed coins. The resulting hexagram will be the answer to the question.
Using an algorithm suggested by S. C. Johnson, the UNIX oracle simply reads a question from the standard input (up to an EOF) and hashes
the individual characters in combination with the time of day, process id and any other magic numbers which happen to be lying around the
system. The resulting value is used as the seed of a random number generator which drives a simulated coin-toss divination. The answer is
then piped through nroff for formatting and will appear on the standard output.
For those who wish to remain steadfast in the old traditions, the oracle will also accept the results of a personal divination using, for
example, coins. To do this, cast the change and then type the resulting line values as an argument.
The impatient modern may prefer to settle for Chinese cookies; try fortune(6).
SEE ALSO
It furthers one to see the great man.
DIAGNOSTICS
The great prince issues commands,
Founds states, vests families with fiefs.
Inferior people should not be employed.
BUGS
Waiting in the mud
Brings about the arrival of the enemy.
If one is not extremely careful,
Somebody may come up from behind and strike him.
Misfortune.
7th Edition May 20, 1985 CHING(6)