LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-24-2007, 07:48 AM   #1
redhawk1973
Member
 
Registered: Jul 2003
Location: Woodbridge VA
Distribution: Red Hat, Suse, AIX, Fedora, Cent OS, Ubuntu, Mint Linux
Posts: 58

Rep: Reputation: 18
Smile lsdev for linux


Ok I know there is lsdev for aix. I was wondering if there was lsdev for linux and where can I download the program.
 
Old 05-24-2007, 07:54 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Probably not exactly - it would depend on what "lsdev" on AIX does.

In Linux there are tools to see devices:
lspci = shows you what's in your PCI slots
cat /proc/cpuinfo = gives you details on your CPUs

In fact /proc has tons of information. Type "man proc" to see what you can get under /proc.

If you have Fedora Core (FC) or RedHat you can run "kudzu -p" to see a lot of detail about your hardware.
 
Old 05-24-2007, 10:14 AM   #3
kummiliim
Member
 
Registered: Mar 2007
Location: Tallinn, Estonia
Distribution: Slackware 12.0
Posts: 276

Rep: Reputation: 30
It worked for me so there probably is : D
Code:
root@SERVER:/etc/rc.d# lsdev
Device            DMA   IRQ  I/O Ports
------------------------------------------------
0000:00:1f.0                 f800-f87f fc00-fc3f
0000:00:1f.1                 0170-0177 01f0-01f7 0376-0376 03f6-03f6 fff0-ffff
0000:00:1f.2                 ff00-ff1f
0000:00:1f.3                 fe00-fe0f
0000:00:1f.5                 f000-f0ff f400-f43f
0000:01:02.0                   78c0-78ff
cascade             4     2
dma                          0080-008f
dma1                         0000-001f
dma2                         00c0-00df
eepro100                         78c0-78ff
eth0                      5
floppy              2     6  03f2-03f5 03f7-03f7
fpu                          00f0-00ff
i8042                  1 12
ide0                     14    01f0-01f7   03f6-03f6
ide1                     15    0170-0177   0376-0376
keyboard                     0060-006f
parport0                     0378-037a 037b-037f
PCI                          0cf8-0cff 7000-7fff
pic1                         0020-0021
pic2                         00a0-00a1
rtc                       8  0070-0077
serial                       03f8-03ff
timer                     0
timer0                       0040-0043
timer1                       0050-0053
uhci_hcd                       ff00-ff1f
uhci_hcd:usb1            10
vga+                         03c0-03df
 
Old 05-24-2007, 10:47 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Well it appears by default lsdev isn't installed on Fedora Core or RedHat but it can be obtained by installing the procinfo package.

yum install procinfo
Will install it on Fedora Core (and probably RHEL5 - for earlier RHEL versions you'd have to use up2date rather than yum).

Of course this still doesn't mean this lsdev is the same as the one you see on AIX. It installs a man page (which is also available on line). Many UNIX OSes have proprietary commands for seeing devices. For example on HP-UX I'd run ioscan.

So again the question is what information you're trying to get.
 
Old 05-24-2007, 11:44 AM   #5
redhawk1973
Member
 
Registered: Jul 2003
Location: Woodbridge VA
Distribution: Red Hat, Suse, AIX, Fedora, Cent OS, Ubuntu, Mint Linux
Posts: 58

Original Poster
Rep: Reputation: 18
Thanks you
 
  


Reply



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
why don't i have lsdev and lsscsi in centOS? lnthai2002 Linux - Distributions 7 08-24-2015 12:20 PM
how put lsdev on debian? xcore_on Linux - Newbie 2 04-19-2006 09:21 AM
lsmod, lspci, lsdev and compiling kernel justwantin Slackware 7 01-06-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 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
Open Source Consulting | Domain Registration