Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Different OS Kernel Update Frequency Post 302555809 by majid.merkava on Thursday 15th of September 2011 04:35:46 PM
Old 09-15-2011
Different OS Kernel Update Frequency

Hi guys

I'm trying to configure a collaboration suit (PHP, PostgreSQL, Apache) plus a mail server(Sendmail and Dovecot) on a single box. It will be used heavily 24*7. So having a long up time is really needed. I'm looking for 3 to 6 month up time. I want to know about kernel update frequency(because they are causing server reboot) for different operating systems such as Linux(CentOS, Debian, Ubuntu Server Edition), FreeBSD NetBSD, OpenBSD.

Could anyone help? I'm not trying to make a Linux vs BSD question as it is against forum rules.
 

7 More Discussions You Might Find Interesting

1. Linux

kernel patch update how to

Hi All, I need to update my redhatas4 kernel with kernel-2.6.9-67.0.20.EL.src.rpm. When I run this # rpm -ivh kernel-2.6.9-67.0.20.EL.src.rpm warning: user brewbuilder does not exist - using root warning: group brewbuilder does not exist - using root warning: user brewbuilder does... (2 Replies)
Discussion started by: itik
2 Replies

2. Solaris

Solaris kernel Update

Hi All, I am installing kernel Update 3.0 in my Solaris servers. It actually installs most of the patches in this update , but for some packages it is not installing. It is saying ... Version of package SUNWcakr from directory SUNWcakr.us in patch 137137-09 differs from the package... (7 Replies)
Discussion started by: jegaraman
7 Replies

3. Solaris

kernel update

Hi I am installeing Solaris Kernel update in my solaris Server. The Solaris Kernel update skipps the patch 120011-14. saying that it had already been installed. But it is not found in /var/sadm/patch directory where all the patches will be there. And also i could not install other... (11 Replies)
Discussion started by: jegaraman
11 Replies

4. Red Hat

Kernel Update

1. Where do i obtain new kernels in ".rpm" format to update my RHEL5? is it only available to RHN subscribers? 2. i downloaded latest kernel (linux-2.6.31.5.tar.bz2) from kernel.org. #tar -xjvf linux-2.6.31.5.tar.bz2 after this i have a directory with lots of stuff in there. how do... (2 Replies)
Discussion started by: dplinux
2 Replies

5. Solaris

how to update the kernel patches in solaris 10

tell me the step by step procedure for updating the kernel patches in solaris 10. (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

6. Red Hat

Linux kernel update

Dear all, I have some linux servers in my prod environment. For two years i have not done any kernel updates or required patches ...should i have to this activity. My kernel version is 2.6.18-164.el5xen and linux release is release 5.4 (Tikanga). And reboot also not done for 2 years is... (2 Replies)
Discussion started by: jegaraman
2 Replies

7. UNIX for Dummies Questions & Answers

How to check NTP update frequency?

Hi i want know to how to check NTP update frequency for a server? what should be its ideal value or range ? also, i have configure one switch and on gui i can see NTP update frequency value is 1440. also no idea what should be its ideal value i am not sure if this is correct or not .... (1 Reply)
Discussion started by: scriptor
1 Replies
PHP_UNAME(3)								 1							      PHP_UNAME(3)

php_uname - Returns information about the operating system PHP is running on

SYNOPSIS
string php_uname ([string $mode = "a"]) DESCRIPTION
php_uname(3) returns a description of the operating system PHP is running on. This is the same string you see at the very top of the phpinfo(3) output. For the name of just the operating system, consider using the PHP_OS constant, but keep in mind this constant will con- tain the operating system PHP was built on. On some older UNIX platforms, it may not be able to determine the current OS information in which case it will revert to displaying the OS PHP was built on. This will only happen if your uname() library call either doesn't exist or doesn't work. PARAMETERS
o $mode -$mode is a single character that defines what information is returned: o 'a': This is the default. Contains all modes in the sequence "s n r v m". o 's': Operating system name. eg. FreeBSD. o 'n': Host name. eg. localhost.example.com. o 'r': Release name. eg. 5.1.2-RELEASE. o 'v': Version information. Varies a lot between operating systems. o 'm': Machine type. eg. i386. RETURN VALUES
Returns the description, as a string. EXAMPLES
Example #1 Some php_uname(3) examples <?php echo php_uname(); echo PHP_OS; /* Some possible outputs: Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686 Linux FreeBSD localhost 3.2-RELEASE #15: Mon Dec 17 08:46:02 GMT 2001 FreeBSD Windows NT XN1 5.1 build 2600 WINNT */ if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { echo 'This is a server using Windows!'; } else { echo 'This is a server not using Windows!'; } ?> There are also some related Predefined PHP constants that may come in handy, for example: Example #2 A few OS related constant examples <?php // *nix echo DIRECTORY_SEPARATOR; // / echo PHP_SHLIB_SUFFIX; // so echo PATH_SEPARATOR; // : // Win* echo DIRECTORY_SEPARATOR; // echo PHP_SHLIB_SUFFIX; // dll echo PATH_SEPARATOR; // ; ?> SEE ALSO
phpversion(3), php_sapi_name(3), phpinfo(3). PHP Documentation Group PHP_UNAME(3)

Featured Tech Videos

All times are GMT -4. The time now is 10:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy