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
marceloNYCMiddle-Tier AdministratorAsked:
Who is Participating?
 
Zephyr ICTCloud ArchitectCommented:
In Debian you can find out which packages are installed by running following command:

dpkg --get-selections | grep -v deinstall > ~/Documents/list

Open in new window


It will export only the installed packages that can be uninstalled and export this list to a file called "list" in your Documents folder.

You can also run "dpkg --get-selections" to get everything.
0
 
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
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
0
 
marceloNYCMiddle-Tier AdministratorAuthor Commented:
does it have to be a Gentoo Linux?

Just wondering.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Zephyr ICTCloud ArchitectCommented:
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

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

Nice commands thou thanks!
0
 
marceloNYCMiddle-Tier AdministratorAuthor Commented:
Can I do this "sudo lshw -html > hwprofile.html" with the packages installed?
0
 
Zephyr ICTCloud ArchitectCommented:
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"
0
 
marceloNYCMiddle-Tier AdministratorAuthor Commented:
I have debian linux servers. My boss wants to know what is install in those servers.
0
 
marceloNYCMiddle-Tier AdministratorAuthor Commented:
This works out perfectly.

Thank you so much.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.