Sponsored Content
Full Discussion: Detecting Vmware on Linux
Top Forums Shell Programming and Scripting Detecting Vmware on Linux Post 302113198 by amittal on Wednesday 4th of April 2007 05:00:55 AM
Old 04-04-2007
Detecting Vmware on Unix/Linux

Hi,

I need help to detect Vmware on Linux and SunOS.

I need to know if Vmware is installed on the box. If yes then if it is a physical or a virtual machine.

Thanks in advance,
amittal
 

9 More Discussions You Might Find Interesting

1. Linux

Linux Mandrake 9.1 running on Vmware workstation 4

Im running WinXp and just recently installed VMware workstation v4 to emulate Linux Mandrake 9.1. It succesfully installed.. Situation: My xp home edition is static on a linksys router it is my host computer.. Linux is running on Vmware as guest operation system.. Im not sure how to configure... (2 Replies)
Discussion started by: NewINLinux
2 Replies

2. Linux

Why is linux console window in VMWare so small?

I install linux in VMWare, but Its console window is too small, Its size is 80*25, I can't change it even though I use full srceen mode in VMWare.How can I do? please help me! Thanks! (3 Replies)
Discussion started by: ChaoZhang
3 Replies

3. UNIX for Dummies Questions & Answers

Network Issue between Linux and RedHat (both on VMWare)

Hi All My first post so I hope it's ok. I have VMware workstation 5.0.0 build-13124 on an XP professional box. Within the VMware environment I have two virtual systems. The first is a Red Hat Linux (3.2.2-5) box and the second is an XP Home (sp2) box. When setting up both virtual boxes I set... (1 Reply)
Discussion started by: The_Lo_King
1 Replies

4. Red Hat

How to find VMware info from Linux?

Hi, I have two questions about Linux with VMware: (1) How to tell if the system is real or VMware virtual from a Linux platform without root privilege? (root can use 'dmidecode | grep -i vmware). The command 'dmesg | grep -i vmware' run by everyone is not always working for this purpose. (2)... (2 Replies)
Discussion started by: aixlover
2 Replies

5. Homework & Coursework Questions

Redhat LINUX 5 setting In VMWARE

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I have installed Redhat Linux 5 in VMWARE and would need to access through putty form the same desktop or... (2 Replies)
Discussion started by: SasiWipro
2 Replies

6. Virtualization and Cloud Computing

Redhat Linux 5 settings in VMWARE

I have installed Redhat Linux 5 in VMWARE and would need to access through putty form the same desktop or other desktop, Please help me what are the config setting needs to be modified We could connect through Router (Wifi) or network, also Without network since the server hosted on same... (0 Replies)
Discussion started by: SasiWipro
0 Replies

7. Emergency UNIX and Linux Support

How to configure in redhat linux on vmware?

Hi All, I installed Red-hat linux(64bit-x86) os on vmware 8,configure IP address and services but it is unable to come in to network.it is production server. please provide solution to me , it is very urgent... (3 Replies)
Discussion started by: Rajesh_Apple
3 Replies

8. Red Hat

Linux Red Hat AS3 Network card is not detecting ...

Dear Expert, I 've installed Redhat linux AS3, My machine having Inbuild network card (Intel(R) 82566DM-2 Gigabit Network Connection). I've downloaded e1000e-2.3.2 from Intel site, but its not working for my machine. I'm unable to configure the Network. ifconfig eth0 xx.xx.xx.xx netmask... (0 Replies)
Discussion started by: Mohammed Faiz
0 Replies

9. Red Hat

Installing Linux on Vmware - Help needed

Hi Friends I am trying to install linux (32 bit) on windows. so i used Oracle virtual box and Vmware player in windows and installed them. but there is no category to select Linux version 7. how to install it pls help here. (7 Replies)
Discussion started by: ded325
7 Replies
Sys::Statistics::Linux::DiskStats(3pm)			User Contributed Perl Documentation		    Sys::Statistics::Linux::DiskStats(3pm)

NAME
Sys::Statistics::Linux::DiskStats - Collect linux disk statistics. SYNOPSIS
use Sys::Statistics::Linux::DiskStats; my $lxs = Sys::Statistics::Linux::DiskStats->new; $lxs->init; sleep 1; my $stat = $lxs->get; Or my $lxs = Sys::Statistics::Linux::DiskStats->new(initfile => $file); $lxs->init; my $stat = $lxs->get; DESCRIPTION
Sys::Statistics::Linux::DiskStats gathers disk statistics from the virtual /proc filesystem (procfs). For more information read the documentation of the front-end module Sys::Statistics::Linux. DISK STATISTICS
Generated by /proc/diskstats or /proc/partitions. major - The mayor number of the disk minor - The minor number of the disk rdreq - Number of read requests that were made to physical disk per second. rdbyt - Number of bytes that were read from physical disk per second. wrtreq - Number of write requests that were made to physical disk per second. wrtbyt - Number of bytes that were written to physical disk per second. ttreq - Total number of requests were made from/to physical disk per second. ttbyt - Total number of bytes transmitted from/to physical disk per second. METHODS
new() Call "new()" to create a new object. my $lxs = Sys::Statistics::Linux::DiskStats->new; Maybe you want to store/load the initial statistics to/from a file: my $lxs = Sys::Statistics::Linux::DiskStats->new(initfile => '/tmp/diskstats.yml'); If you set "initfile" it's not necessary to call sleep before "get()". It's also possible to set the path to the proc filesystem. Sys::Statistics::Linux::DiskStats->new( files => { # This is the default path => '/proc', diskstats => 'diskstats', partitions => 'partitions', } ); init() Call "init()" to initialize the statistics. $lxs->init; get() Call "get()" to get the statistics. "get()" returns the statistics as a hash reference. my $stat = $lxs->get; raw() Get raw values. EXPORTS
No exports. SEE ALSO
proc(5) REPORTING BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (c) 2006, 2007 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-03-09 Sys::Statistics::Linux::DiskStats(3pm)
All times are GMT -4. The time now is 04:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy