06-09-2009
Check for the bit version of OS
Hi ,
Is there a command that i can use to check the bit version of the OS.
I have a script that i need to run on all the unix flavors so how do i check for the condition
say something like this
if( 32 bit)
{
execute this
}
else
{
execute this
}
Thanks,
Praveen
10 More Discussions You Might Find Interesting
1. Programming
how to check the version of Library
version of Program &
version of file.
while compile pro*c program, I got error like elf error: no string table
if u have any suggestion then give me urgently. (1 Reply)
Discussion started by: dilipluhar
1 Replies
2. UNIX for Dummies Questions & Answers
i am using sunOS 5.8. What is the command to know the OS bit (8,32,64...) while the server is under production and is it possible to change from one bit to another??
replies appreciated
raguram R (2 Replies)
Discussion started by: raguramtgr
2 Replies
3. Solaris
Hello
1) How can I find what bit of OS I am running on? 16 bit, 64 bit?
2) What is the difference in having different bits?
3) Below is the output of /etc/release/ what are all these components meaning?
$ more /etc/release
Solaris 10 11/06 s10x_u3wos_10 X86
$
Thank... (7 Replies)
Discussion started by: panchpan
7 Replies
4. Solaris
Hi All,
Please advice me how i can check the Oracle version on my UNIX Solaris machine without logging in to oracle?
Thanks,
Am (1 Reply)
Discussion started by: am_yadav
1 Replies
5. Solaris
Hi All,
Looks a foolish question, but please can someone tell me the command to check version of Solaris OS?
Thanks,
Am (5 Replies)
Discussion started by: am_yadav
5 Replies
6. AIX
Hi all,
I am facing problem in porting to 64 bit AIX especially with compiling options to compile and run under 64 bit kernel.Can any one put some light on the issue
thanks in advance
vishal (14 Replies)
Discussion started by: vishalzone2002
14 Replies
7. Linux
Can someone try to compile this older version of xtide (attached) on 64-bit Intel/Linux and upload the xttpd binary? I have a friend who needs an older version up and running because the newer version does not support his required harmonic files.
Thanks! (7 Replies)
Discussion started by: Neo
7 Replies
8. Shell Programming and Scripting
Hi ,
While executing perl scripts , sometimes cpu consumption is going to 100% and perl script is asking to abort.
In perl script , iam having some powershell commnands.
out of 10 times , 9 times script runs fine and 1 time its throwing the above error.
Iam using windows 2008 64 bit... (2 Replies)
Discussion started by: penchal_boddu
2 Replies
9. Red Hat
How to check the installed OHS 10.1.3.3 web server is 32 bit or 64 bit on OLE 5.4 (64 bit) OS (7 Replies)
Discussion started by: nuthakki
7 Replies
10. Windows & DOS: Issues & Discussions
Hello everyone.
I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
LEARN ABOUT DEBIAN
socklog-check
socklog-check(8) System Manager's Manual socklog-check(8)
NAME
socklog-check - checks for the availability of a socklog(8) service.
SYNOPSIS
socklog-check [-v] [unix [address]]
DESCRIPTION
socklog-check attempts to connect to a socklog(8) unix service and reports whether the connection attempt succeeded or not.
It connects to the datagram oriented unix domain socket address, and reports success through the return code. If address is not specified,
socklog-check attempts to connect to /dev/log.
When running services that use the syslog facility under runit's service supervision, socklog-check should be added to the top of the ser-
vice's run script to ensure that no syslog messages are generated until a syslog service is up and running to process the messages, e.g.:
#!/bin/sh
socklog-check || exit 1
exec service_using_syslog
OPTIONS
-v verbose. Print verbose message to standard error.
EXIT CODES
On success socklog-check returns 0.
On error, socklog-check prints a message to standard error and exits 111.
SEE ALSO
socklog(8), socklog-conf(8), svlogd(8), tryto(1), uncat(1), sv(8), runsv(8), runsvdir(8)
http://smarden.org/socklog/
http://smarden.org/runit/
AUTHOR
Gerrit Pape <pape@smarden.org>
socklog-check(8)