Sponsored Content
Operating Systems AIX how would you know your server was rebooted 3 times or 5 times Post 302276908 by agn on Thursday 15th of January 2009 01:32:52 AM
Old 01-15-2009
Am not familiar with AIX, but I'd try last(1).
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Boot times

Hey all, What we have at work is a Themis board (VME rack SPARC system). We have to try to have the boot time as fast as can be. What we have already done is make some filesystems read only so if power is lost then the filesystem check will not run. This is only done to the partitions that... (2 Replies)
Discussion started by: woofie
2 Replies

2. UNIX and Linux Applications

ssh times out

I have fedora 13 installed on my home computer. I am unable to ssh from my office to my home computer. On trying to ssh to my home computer, I get the following response: $ ssh -vvv username@129.X.XXX.XXX OpenSSH_5.3p1, OpenSSL 1.0.0a-fips 1 Jun 2010 debug1: Reading configuration data... (6 Replies)
Discussion started by: arbitguy
6 Replies

3. Shell Programming and Scripting

Script to check for the newest file mutiple times a day and SCP it to another server.

Hi, I need a sample of a script that will check a specific directory multiple times throughout the day, and scp the newest file to another server. Example: current file is misc_file.txt_02272011 (the last part is the date), once that has been secure copied, another one may come in later the... (1 Reply)
Discussion started by: richasmi
1 Replies

4. Shell Programming and Scripting

Listing times from ls

Hello, Im new to shell scripting and i am trying to write a part of my script that will search for all files in any given folder and write down all the names of the files and the atime, change time, and modtime of the files in one file as an output. I know that ls -l, ls -ul and ls -lc will give... (1 Reply)
Discussion started by: jnagda
1 Replies

5. Programming

Problem with implementing the times() function in C (struct tms times return zero/negative values)

Hello, i'm trying to implement the times() function and i'm programming in C. I'm using the "struct tms" structure which consists of the fields: The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process. The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies

6. What is on Your Mind?

Welcome in these 1337 times

Have you noticed that the Unix time right now starts with the combination "1337"? 1337 times indeed. ;-)) bakunin (10 Replies)
Discussion started by: bakunin
10 Replies

7. Solaris

Solaris 10 server crashed two times

Hi, I have two Solaris 10 servers. First server crashed last week (Monday) and second one crashed over the weekend. I have checked the logs such as /var/adm/messages, syslog and dmesg. So for I found none. My management wants to know why the server crashed. I need to come with some kind of... (4 Replies)
Discussion started by: samnyc
4 Replies

8. Shell Programming and Scripting

Choosing VPN server based on server response times

Hello all, I am using the VPN provider Private Internet Access. I am using the Raspberry Pi 4 with 4GB of RAM, performance on this upgraded board is great. Anyways I am connecting to its service using systemd's openvpn-client @ US_New_York_City.service I wonder if I can create a... (5 Replies)
Discussion started by: haloslayer255
5 Replies
DEFINE_SYSLOG_VARIABLES(3)						 1						DEFINE_SYSLOG_VARIABLES(3)

define_syslog_variables - Initializes all syslog related variables

SYNOPSIS
void define_syslog_variables (void ) DESCRIPTION
Initializes all variables used in the syslog functions. RETURN VALUES
No value is returned. Syslog variables +--------------+-------------------------------+---+---+ | Variable | | | | | | | | | | | Constant equal | | | | | | | | | | Meaning | | | | | | | | | | Notes | | | | | | | | +--------------+-------------------------------+---+---+ | $LOG_EMERG | | | | | | | | | | | | | | | | LOG_EMERG | | | | | | | | | | System is unusable | | | | | | | | | | | | | | | T{ $LOG_ALERT | | | | | | | | | | | | | | | LOG_ALERT | | | | | | | | | | Immediate action required | | | | | | | | | | | | | | | T{ $LOG_CRIT | | | | | | | | | | | | | | | LOG_CRIT | | | | | | | | | | Critical conditions | | | | | | | | | | | | | | | T{ $LOG_ERR | | | | | | | | | | | | | | | LOG_ERR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_WARNING | | | | | | | | | | | | | | | LOG_WARNING | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOTICE | | | | | | | | | | | | | | | LOG_NOTICE | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_INFO | | | | | | | | | | | | | | | LOG_INFO | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_DEBUG | | | | | | | | | | | | | | | LOG_DEBUG | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_KERN | | | | | | | | | | | | | | | LOG_KERN | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_USER | | | | | | | | | | | | | | | LOG_USER | | | | | | | | | | Genetic user level | | | | | | | | | | | | | | | T{ $LOG_MAIL | | | | | | | | | | | | | | | LOG_MAIL | | | | | | | | | | Log to email | | | | | | | | | | | | | | | T{ $LOG_DAEMON | | | | | | | | | | | | | | | LOG_DAEMON | | | | | | | | | | Other system daemons | | | | | | | | | | | | | | | T{ $LOG_AUTH | | | | | | | | | | | | | | | LOG_AUTH | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_SYSLOG | | | | | | | | | | | | | | | LOG_SYSLOG | | | | | | | | | | | | | | | |T{ Not available on Netware | | | | | | | | | $LOG_LPR | | | | | | | | | | | | | | | | LOG_LPR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NEWS | | | | | | | | | | | | | | | LOG_NEWS | | | | | | | | | | Usenet new | | | | | | | | | | Not available on HP-UX | | | | | | | | | $LOG_CRON | | | | | | | | | | | | | | | | LOG_CRON | | | | | | | | | | | | | | | |T{ Not available on all | | | | | platforms | | | | | | | | |$LOG_AUTHPRIV | | | | | | | | | | | | | | | | LOG_AUTHPRIV | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | | $LOG_LOCAL0 | | | | | | | | | | | | | | | | LOG_LOCAL0 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL1 | | | | | | | | | | | | | | | | LOG_LOCAL1 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL2 | | | | | | | | | | | | | | | | LOG_LOCAL2 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL3 | | | | | | | | | | | | | | | | LOG_LOCAL3 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL4 | | | | | | | | | | | | | | | | LOG_LOCAL4 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL5 | | | | | | | | | | | | | | | | LOG_LOCAL5 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL6 | | | | | | | | | | | | | | | | LOG_LOCAL6 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL7 | | | | | | | | | | | | | | | | LOG_LOCAL7 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_PID | | | | | | | | | | | | | | | | LOG_PID | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_CONS | | | | | | | | | | | | | | | LOG_CONS | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_ODELAY | | | | | | | | | | | | | | | LOG_ODELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NDELAY | | | | | | | | | | | | | | | LOG_NDELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOWAIT | | | | | | | | | | | | | | | LOG_NOWAIT | | | | | | | | | | | | | | | |T{ Not available on BeOS | | | | | | | | | $LOG_PERROR | | | | | | | | | | | | | | | | LOG_PERROR | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | +--------------+-------------------------------+---+---+ Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. EXAMPLES
Example #1 define_syslog_variables(3) example <?php // Check if syslog variables already is defined if(!get_cfg_var('define_syslog_variables')) { define_syslog_variables(); } // Open the log openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER); // Continue script ... ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | This function was removed from PHP. | | | | | 5.3.0 | | | | | | | This function now throws an E_DEPRECATED notice. | | | | +--------+---------------------------------------------------+ SEE ALSO
openlog(3), syslog(3), closelog(3). PHP Documentation Group DEFINE_SYSLOG_VARIABLES(3)
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy