Link to home
Start Free TrialLog in
Avatar of marceloNYC
marceloNYCFlag for United States of America

asked on

Best way to run inventory in a linux machine

Dear experts,

I am task with inventory the network I just started working for.

I do see all the machines in the Proxmox virtual environment management console.

I am okay using the Berlac software for the windows machines.

I need to obtain the same as you will from Berlac in a windows machine from the command line on the Linux servers.

What will you recommend.

Thank you!

Regards,

M
Avatar of Mohammed Khawaja
Mohammed Khawaja
Flag of Canada image

My suggestion to you would be to install a Gentoo Linux VM, download SYDI for Linux and run it on the Gentoo Linux server to get inventory of all your Linux VMs.  Below is the link for SYDI:

http://prdownloads.sourceforge.net/sydi/sydi-linux-0.1.tar.gz?download
Avatar of marceloNYC

ASKER

does it have to be a Gentoo Linux?

Just wondering.
If you're using Ubuntu you'd be able to use hardinfo (apt-get install hardinfo) ...
Otherwise there's always scripting check following:
lspci
lsusb
lscpu
cat /proc/cpu

Open in new window


Or, another cool one, I use this on Fedora but might be available on Red Hat/CentOS as well, is "lshw". You can use it to output to a html file like this:

sudo lshw -html > hwprofile.html

Open in new window

Avatar of madunix
madunix

GLPI is the open source software, http://www.glpi-project.org/
Software inventory is what I need to optasin same as Berlac does...

Nice commands thou thanks!
Can I do this "sudo lshw -html > hwprofile.html" with the packages installed?
Can I do this "sudo lshw -html > hwprofile.html" with the packages installed?

Not sure I understand your question, what packages are you talking about? Do you mean to see what actual packages are installed?

What is your distro?

For Red Hat/CentOS you could try "rpm -qa | less" or "yum list installed"
I have debian linux servers. My boss wants to know what is install in those servers.
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This works out perfectly.

Thank you so much.