10-16-2007
What type of message are you getting in the syslog.
glance might be a way forward, mwa might also be useful.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HP UNIX version 10.20
I have been using system variable names in some shell scripts in order to automate execution of some test software. I have recently found that there appears to be a restriction with the 'ls' command when listing specific files (e.g. ls *.c). If I pipe the output into wc, I... (5 Replies)
Discussion started by: degwright
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
can anyone explain me what virtual memory is ( for which we use vmstat commande line ) comparing with RAM ?
many thanks before. (2 Replies)
Discussion started by: big123456
2 Replies
3. Programming
Hi,
First of all I appreciate this group very much for its informative discussions and posts.
Here is my question.
I have one process whose virtual memory size increases linearly from 6MB to 12MB in 20 minutes. Does that mean my process has memory leaks?
In what cases does the... (4 Replies)
Discussion started by: shriashishpatil
4 Replies
4. Programming
Hi Folks
can any body suggest how to allocate virtual memory any function for that (2 Replies)
Discussion started by: munnu
2 Replies
5. AIX
Hi,
Would any one be so kind to explain me :
are ulimits defined for each user seperately ? When ?
Specialy what is the impact of :
max locked memory
and
virtual memory
on performance of applications for a user.
Many thanks.
PS :
this is what I can see in MAN :
ulimit ]
... (5 Replies)
Discussion started by: big123456
5 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
Does anyone know what the best commands in the UNIX command line are for obtaining this info:
current CPU usage
memory usage
virtual memory usage
preferably with date and time parameters too?
thanks
ocelot (4 Replies)
Discussion started by: ocelot
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Can anyone please help me workout how much virtual memory I have running on a T2000 running Solaris 10. Thanks
# df -h
swap 3.5G 1.0M 3.5G 1% /etc/svc/volatile
swap 3.5G 208K 3.5G 1% /tmp
swap 3.5G 56K ... (2 Replies)
Discussion started by: jamba1
2 Replies
8. Linux
Hi all,
I was compiling my glibc 2.6.1 source files on a new kernel 2.66.22.6 and it seems that i am running into issues with the Virtual Memory. It displays the error message:
virtual memory exhausted: Cannot allocate memory
I saw an article on how to adjust the parameters but i can't... (5 Replies)
Discussion started by: scriptingmani
5 Replies
9. UNIX for Advanced & Expert Users
Hi Experts
I encountered a situation recently. I wanted to discuss here and understand the reason behind this. My scenario is something like this:
yes > temp &
The above command keeps writing the output to the file temp. And this file keeps growing every second. And in the every... (4 Replies)
Discussion started by: guruprasadpr
4 Replies
10. Solaris
Hi All,
Please explain me about Virtual Memory.
Regards,
SKumar (1 Reply)
Discussion started by: nskumar
1 Replies
LEARN ABOUT CENTOS
syslog.h
syslog.h(3HEAD) Headers syslog.h(3HEAD)
NAME
syslog.h, syslog - definitions for system error logging
SYNOPSIS
#include <syslog.h>
DESCRIPTION
The <syslog.h> header defines the following symbolic constants, zero or more of which can be OR'ed together to form the logopt option of
openlog():
LOG_PID Log the process ID with each message.
LOG_CONS Log to the system console on error.
LOG_NDELAY Connect to syslog daemon immediately.
LOG_ODELAY Delay open until syslog() is called.
LOG_NOWAIT Do not wait for child processes.
The following symbolic constants are defined as possible values of the facility argument to openlog():
LOG_KERN reserved for message generated by the system
LOG_USER message generated by a process
LOG_MAIL reserved for message generated by mail system
LOG_NEWS reserved for message generated by news system
LOG_UUCP reserved for message generated by UUCP system
LOG_DAEMON reserved for message generated by system daemon
LOG_AUTH reserved for message generated by authorization daemon
LOG_CRON reserved for message generated by clock daemon
LOG_LPR reserved for message generated by printer system
LOG_LOCAL0 reserved for local use
LOG_LOCAL1 reserved for local use
LOG_LOCAL2 reserved for local use
LOG_LOCAL3 reserved for local use
LOG_LOCAL4 reserved for local use
LOG_LOCAL5 reserved for local use
LOG_LOCAL6 reserved for local use
LOG_LOCAL7 reserved for local use
The following is declared as a macro for constructing the maskpri argument to setlogmask(). The following macro expands to an expression of
type int when the argument pri is an expre ssion of type int:
LOG_MASK(pri) a mask for priority pri
The following constants are defined as possible values for the priority argument of syslog():
LOG_EMERG A panic condition was reported to all processes.
LOG_ALERT A condition that should be corrected immediately.
LOG_CRIT A critical condition.
LOG_ERR An error message.
LOG_WARNING A warning message.
LOG_NOTICE A condition requiring special handling.
LOG_INFO A general information message.
LOG_DEBUG A message useful for debugging programs.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
syslog(3C), attributes(5), standards(5)
SunOS 5.10 10 Sep 2003 syslog.h(3HEAD)