Lets Design, Implement and do Administration of ESX3

Virtualization with VMWare Infrastructure 3.0

query RPM Packages

Posted by Preetam on April 14, 2008

[root@UDA account]# rpm -qi zip-2.31-1.2.1
Name        : zip                          Relocations: (not relocatable)
Version     : 2.31                              Vendor: Red Hat, Inc.
Release     : 1.2.1                         Build Date: Sun 12 Feb 2006 09:36:31 PM CET
Install Date: Fri 02 Mar 2007 08:39:59 PM CET      Build Host: hs20-bc1-6.build.redhat.com
Group       : Applications/Archiving        Source RPM: zip-2.31-1.2.1.src.rpm
Size        : 303340                           License: distributable
Signature   : DSA/SHA1, Mon 06 Mar 2006 10:22:55 PM CET, Key ID b44269d04f2a6fd2
Packager    : Red Hat, Inc. <
URL         :
Summary     : A file compression and packaging utility compatible with PKZIP.
Description :
The zip program is a compression and file packaging utility.  Zip is
analogous to a combination of the UNIX tar and compress commands and
is compatible with PKZIP (a compression and file packaging utility for
MS-DOS systems).

Install the zip package if you need to compress files using the zip

[root@UDA account]# rpm -ql zip-2.31-1.2.1

cat /etc/vmware/netmap.conf to view contents of file

grep .name /etc/vmware/netmap.conf
find -name “*.vmx”

If you need to create an archive containing a group of files, type

tar cvf filename.tar directory
tar cvf archives/vm-configs.tar vmware

tar tvf filename.tar to view the contents of the file

ps -ef to view all process running on the service cosnole
ps -efH to know parent process

to list all progam running the background


to restart service

service service-name restart
e.g. service http.vmware restart

to start service at boot time

chkconfig service-name on

available services can be found at ls /etc/init.d

view disk

vdf -h

view the content of vmfs volume

vmkfstools -l vmfs_label
vmkfstools -l vmhba0:0:11

To find the size of the directory

du -sk directoryname


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: