Sponsored Content
Full Discussion: lsdev
Top Forums Shell Programming and Scripting lsdev Post 302215431 by Franklin52 on Wednesday 16th of July 2008 09:47:22 AM
Old 07-16-2008
An alternative for lsdev is to get the information from /proc/devices.
To use lspci you have to install the package "pciutils".

Regards
 

3 More Discussions You Might Find Interesting

1. AIX

bindprocessor and lsdev

hello I don't understand the difference between bindprocessor -q and lsdev -Cc processor When i use the first, i have 8 processors, but when i use the second, i have 4 processors ? thank you for your help, (0 Replies)
Discussion started by: pascalbout
0 Replies

2. UNIX for Dummies Questions & Answers

Dynix/ptx equivalents of lsdev, mkdev etc.

I am familiar with the AIX commands lsdev, mkdev, rmdev and so on. Have been asked to look at a very old Sequent Quad box running Dynix/ptx - believed to be version 2.4.1 ! These commands don't appear to be present. Can anyone please identify the equivalent Dynix commands? I've been handed the... (0 Replies)
Discussion started by: itboss
0 Replies

3. AIX

lsdev -Cc and location info

Hi, I try to understand what means the following location code I can get with the following command : lsdev -Cc tape rmt0 Available 05-08-02 IBM 3580 Ultrium Tape Drive (FCP) rmt1 Available 05-08-02 IBM 3580 Ultrium Tape Drive (FCP) I can find info for 05-08, means RMT0/1 are... (1 Reply)
Discussion started by: unclefab
1 Replies
pcilib(7)							 The PCI Utilities							 pcilib(7)

NAME
pcilib - a library for accessing PCI devices DESCRIPTION
The PCI library (also known as pcilib and libpci) is a portable library for accessing PCI devices and their configuration space. ACCESS METHODS
The library supports a variety of methods to access the configuration space on different operating systems. By default, the first matching method in this list is used, but you can specify override the decision (see the -A switch of lspci). linux-sysfs The /sys filesystem on Linux 2.6 and newer. The standard header of the config space is available to all users, the rest only to root. Supports extended configuration space, PCI domains, VPD (from Linux 2.6.26), physical slots (also since Linux 2.6.26) and information on attached kernel drivers. linux-proc The /proc/bus/pci interface supported by Linux 2.1 and newer. The standard header of the config space is available to all users, the rest only to root. intel-conf1 Direct hardware access via Intel configuration mechanism 1. Available on i386 and compatibles on Linux, Solaris/x86, GNU Hurd and Windows. Requires root privileges. intel-conf2 Direct hardware access via Intel configuration mechanism 2. Available on i386 and compatibles on Linux, Solaris/x86, GNU Hurd and Windows. Requires root privileges. Warning: This method is able to address only the first 16 devices on any bus and it seems to be very unreliable in many cases. fbsd-device The /dev/pci device on FreeBSD. Requires root privileges. aix-device Access method used on AIX. Requires root privileges. nbsd-libpci The /dev/pci0 device on NetBSD accessed using the local libpci library. obsd-device The /dev/pci device on OpenBSD. Requires root privileges. dump Read the contents of configuration registers from a file specified in the dump.name parameter. The format corresponds to the output of lspci -x. PARAMETERS
The library is controlled by several parameters. They should have sensible default values, but in case you want to do something unusual (or even something weird), you can override them (see the -O switch of lspci). Parameters of specific access methods dump.name Name of the bus dump file to read from. fbsd.path Path to the FreeBSD PCI device. nbsd.path Path to the NetBSD PCI device. obsd.path Path to the OpenBSD PCI device. proc.path Path to the procfs bus tree. sysfs.path Path to the sysfs device tree. Parameters for resolving of ID's via DNS net.domain DNS domain containing the ID database. net.cache_name Name of the file used for caching of resolved ID's. SEE ALSO
lspci(8), setpci(8), update-pciids(8) AUTHOR
The PCI Utilities are maintained by Martin Mares <mj@ucw.cz>. pciutils-3.1.7 31 January 2010 pcilib(7)
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy