1 |
On Mon, 28 Nov 2005 22:31:28 -0600 |
2 |
Harry Putnam <reader@×××××××.com> wrote: |
3 |
|
4 |
|
5 |
> I want straight command line so redirect is possible, but a thorough |
6 |
> summary. Not just hdw or pci or usb. I want that but also what |
7 |
> filesystems, |
8 |
|
9 |
df -h |
10 |
cat /etc/fstab |
11 |
|
12 |
> which users, |
13 |
|
14 |
cat /etc/passwd |
15 |
cat /etc/group |
16 |
|
17 |
> all installed software. |
18 |
|
19 |
emerge -evt world |
20 |
|
21 |
> How much data on |
22 |
> which partitions, |
23 |
|
24 |
du -hSx / |
25 |
du -hSx /home |
26 |
...for each partition of interest. Probably need to do some sorting and summaries |
27 |
with grep, sed, and awk. |
28 |
|
29 |
> all devices broken down into their uses such as |
30 |
> ethernet, disk controller etc etc. |
31 |
> |
32 |
|
33 |
lshw |
34 |
-or- |
35 |
lshw -short |
36 |
lshw -businfo |
37 |
lshw -html |
38 |
etc. |
39 |
|
40 |
> In general a full scope summary. It seems this would have been |
41 |
> invented long ago, for the treasure trove it would supply to |
42 |
> developers. |
43 |
> |
44 |
|
45 |
It was never hidden and has always been available. The commands, excepting |
46 |
lshw, have been available since the 1970s. And lots of system inventory scripts |
47 |
are in existance. Many written obscurely in Perl and other languages. |
48 |
|
49 |
Bob |
50 |
- |
51 |
-- |
52 |
gentoo-user@g.o mailing list |