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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

madunix (Fadi SODAH)Chief Information Security Officer Commented:
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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marceloNYCMiddle-Tier AdministratorAuthor Commented:
This works out perfectly.

Thank you so much.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.