LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2011, 03:43 AM   #1
athrin
Member
 
Registered: Mar 2011
Posts: 135

Rep: Reputation: 1
display something


can someone help to on how to display
server serial number, type of os for that server and kernel version for that server.
with seperate way.

Last edited by athrin; 03-18-2011 at 04:00 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-18-2011, 03:58 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Also shown at boot
Quote:
uname -a
 
Old 03-18-2011, 04:00 AM   #3
athrin
Member
 
Registered: Mar 2011
Posts: 135

Original Poster
Rep: Reputation: 1
aaa.. i forgot to tell you..
display it with seperate way
 
Old 03-18-2011, 04:12 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Have a look at the man page for uname:
Code:
man uname
That will give you a lot of information about your OS, kernel and platform. For you server serial number however, I don't think that's listed using any command unless you're referring to parts included in your server. If you need more information about your installed hardware see if you have lshw installed and if not install it. Also, when asking a question please provide us with basic information such as what distro and version you're using.

Kind regards,

Eric
 
1 members found this post helpful.
Old 03-18-2011, 04:18 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
In addition to what EricTRA stated, serial numbers are provided by the dmidecode command (root only). For the OS you can simply do
Code:
cat /etc/*release
even if it may differ on some Unix machines, where you have a version file in place of release. If available you can retrieve the same information by means of
Code:
lsb_release -d
 
2 members found this post helpful.
Old 03-18-2011, 04:41 AM   #6
athrin
Member
 
Registered: Mar 2011
Posts: 135

Original Poster
Rep: Reputation: 1
thanks and what about server serial number?
 
Old 03-18-2011, 04:59 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Quote:
Originally Posted by athrin View Post
thanks and what about server serial number?
Hi,

Most likely printed on a sticker somewhere on the back of the server.

Kind regards,

Eric
 
Old 03-20-2011, 09:09 PM   #8
athrin
Member
 
Registered: Mar 2011
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by EricTRA View Post
Hi,

Most likely printed on a sticker somewhere on the back of the server.

Kind regards,

Eric
not that.. i mean was how to display server serial number like "serial number: (serial number)" on screen.
 
Old 03-20-2011, 09:21 PM   #9
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , ChromeOS
Posts: 4,921
Blog Entries: 19

Rep: Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137
Maybe linuxlogo is what you are looking for
What it looks like after a fresh install (which I just did before post)

Code:
         _sudZUZ#Z#XZo=_         DDDD   EEEEEE BBBB   IIIIII  AAAA   NN   NN
      _jmZZ2!!~---~!!X##wa       DD DD  EE     BB BB    II   AA  AA  NNN  NN
   .<wdP~~            -!YZL,     DD  DD EEEEE  BBBBB    II   AAAAAA  NNNN NN
  .mX2'       _%aaa__     XZ[.   DD DD  EE     BB  BB   II   AA  AA  NN NNNN
  oZ[      _jdXY!~?S#wa   ]Xb;   DDDD   EEEEEE BBBBB  IIIIII AA  AA  NN   NN
 _#e'     .]X2(     ~Xw|  )XXc 
.2Z`      ]X[.       xY|  ]oZ(   Linux Version 2.6.34-stevo
.2#;      )3k;     _s!~   jXf`   Compiled #1 SMP PREEMPT Fri Jun 11 18:50:40 PDT 2010
 1Z>      -]Xb/    ~    __#2(    One 800MHz Intel Pentium III Processor, 1GB RAM
 -Zo;       +!4ZwaaaauZZXY'      1598.63 Bogomips Total
  *#[,        ~-?!!!!!!-~        biker
   XUb;.                       
    )YXL,,                     
      +3#bc,                   
        -)SSL,,                
           ~~~~~
It can be configured to display more info like serial number.Edit. Display in terminal is better than is shown in forum code tags.

Last edited by rokytnji; 03-20-2011 at 09:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced apache2 configuration - Folder display, allowed .php display marquisor Linux - Server 1 10-20-2010 01:47 AM
Mandriva 2010 - Laptop Function Key Dims Display, Display Auto-Brightens Oceans80 Mandriva 2 08-28-2010 07:12 PM
hp compaq presario v3412tu no display on laptop screen, just external display y33_4nn Linux - Laptop and Netbook 2 02-09-2010 12:33 AM
Problem withChanging DISPLAY environment variable to display on someone else's screen wantsri Linux - Networking 1 10-25-2005 12:14 PM
RH9 Shrike /sbin/loader display problem with SIS 630 laptop - display is blank ! johnvoisey Red Hat 4 11-01-2003 07:52 AM


All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration