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.
|
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. |
It worked for me so there probably is : D
Code:
root@SERVER:/etc/rc.d# lsdev |
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. |
Thanks you
|
All times are GMT -5. The time now is 12:26 PM. |