General :: Display Server Serial Number

Mar 18, 2011

How to display server serial number, type of os for that server and kernel version for that server. with seperate way.

View 8 Replies


ADVERTISEMENT

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock

[code]....

View 1 Replies View Related

Server :: Using Of SOA Serial Number?

Feb 19, 2011

Except faster reading of zone records there is not other purpose of correct SOA number,right?

View 2 Replies View Related

General :: Get Hard Disk Serial Number Using C++ Program?

Apr 29, 2010

i need to get the hard disk serial number of my machine using a C++ program.

View 11 Replies View Related

General :: Find Out The Serial Number Of Hard Disk Through Command Line On OpenSuse 11.2 ?

Jul 12, 2010

I read this thread but

Code:
anisha@linux-uitj:~> su
Password:

[code]...

View 14 Replies View Related

General :: Get Drive Letter And Serial Number Of Thumb Drive?

Feb 4, 2010

I am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.

View 3 Replies View Related

General :: Commands To Display Running Processor Number Id?

Jan 24, 2011

I have 8 cores system, but I only want to use 4 cores of it. Are there any commands to show which cores are running tasks?

View 1 Replies View Related

General :: Trying To Display Count Of Number Of Subdirectories In Directory

Feb 7, 2011

I am a noob and I am trying to display a count of the number of subdirectories in a directory. I have been able to use find -type d to list directories and subdirs but I want a numerical value of dirs and subdirs. I know ls -l gives a count but when I try ls -l -d all it shows is "." I also have tried a combination with the -R option but nothing seems to be working for me.Please forgive my ignorance but I am working on a script for class and this is the first step.

View 3 Replies View Related

Hardware :: Get Serial Number And Model Of USB Drives?

Feb 7, 2011

I have Ubuntu 10.04 LTS. I have a script that prompts you to insert a USB HDD/memory stick then it needs to determine its serial and model and save it to a file. The script can determine the device file of the inserted drive(ex: /dev/sdc) and if hdparm -I /dev/sdc works then all is ok. The problem is that not all USB HDDs/memory sticks work with hdparm. When it does not work I get the following:

Code:

root@izghitu:~# hdparm -I /dev/sdc
/dev/sdc:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange

The other command to get the serial for USB devices of any kind is lsusb -v or lsusb -D /path/to/bus/address The problem of the first one(lsusb -v) is that it lists all USB devices and there's no way for me to script it to detect the inserted USB drive/memory stick and get the serial/model for it. The problem with the second one(lsusb -D /path/to/bus/address) is that I do not know how to get the correct USB bus address of the inserted USB drive/memory stick.

Is there any other way to get the serial number/model of a USB HDD/memory stick using its /dev/sdc device file? Is there any way to link the /dev/sdc device file with the /dev/bus/usb/address device file so I can then use the lsusb -D command to get the required info?

View 3 Replies View Related

Slackware :: Getting The Volume Serial Number Of A Disk?

Dec 21, 2010

Kernel 2.6.21.5, Slackware 12.0

Code:

root@darkstar:~# blkid
/dev/sda: LABEL="MAESTRO!" UUID="4730-D359" TYPE="vfat"
/dev/hdc: LABEL="STORE1 ver. 2 (overrules ver. 1)" TYPE="iso9660"

[code]...

As you can see, the first command gives numbers like C841-0655. But for the optical disks (iso9660) it gives them not. Neither does the second one. This number is known as 'Volume serial number' in MS-DOS, and is printed on console with the command 'dir' not only for the HDD partitions but for the optical disks too. how to get an optical disk Volume serial number? Notice that this number is inherent to the media (is a property of the media, under any O.S.).

View 16 Replies View Related

CentOS 5 :: Developing Using API - Get The Volume Serial Number?

Oct 29, 2009

how do i get the volume serial number using the API on CentOS?for example, on Microsoft Windows i use this function(API - Kernel32.dll):

BOOL GetVolumeInformation One of function's parameter is a pointer to a variable that receive the volume serial number;

View 1 Replies View Related

General :: Maximum Number Of Clients ReachedThunar: Cannot Open Display

Jul 4, 2011

I with one problem to open files on terminal. By example, I open the thunar on terminal, see the error:

gustavo@universe /media/montagem $ thunar
(process:7902): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Maximum number of clients reachedThunar: Cannot open display:
gustavo@universe /media/montagem $ ^C

View 1 Replies View Related

Programming :: Get Hard Disk Serial Number On Solaris?

May 23, 2011

I want to get the Hard Disk serial number of SCSI HDD on Solaris. On linux this is done using following structs and API:

struct hd_driveid hd;
int ide;
ide=open("/dev/hda",O_RDONLY);
(void)ioctl(ide,HDIO_GET_IDENTITY,&hd);
(void)printf("Serial number - %s
",hd.serial_no);

Is there any similar method exists in Solaris to get HDD serial number.

View 1 Replies View Related

Hardware :: Tool - Finding The Mainboard Serial Number?

Jan 15, 2011

Which linux tool can find out mainboard serial number?

View 5 Replies View Related

OpenSUSE Network :: Getting The Same Volume Serial Number Of Samba Share?

Mar 28, 2010

On a small network i have 3 WinXP computers and i've just installed a two new ones with Win7 pre-installed. As server i'm running OpenSuSE 10.3 and Samba with only one share. As i mount it to WinXP computers all get same volume serial number:

Code:

V:>dir
Volume in drive V is AppDrive
Volume Serial Number is 8CD5-975C

...and all Win7 computers get a diffrent one:

Code:

V:>dir
Volume in drive V is AppDrive
Volume Serial Number is A0D3-975C

We use application witch somehow only works when one/same volume serial number on a mounted drive is used.

View 1 Replies View Related

Fedora :: Extract Monitor Serial Number / Manufacture Date Using EDID?

Aug 29, 2010

I can not for the life of me determine how to get the monitor serial number / manufacture date using Extended Display Identification Data (EDID). Does anyone know? None of the following provide this info:

monitor-get-edid
monitor-edid --v
monitor-edid --MonitorsDB
monitor-get-edid | monitor-parse-edid
dmidecode -q

View 8 Replies View Related

General :: Windows With Putty Via USB Serial Cable To Serial Port - Output Ok, Input Isn't?

Jan 13, 2010

I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5).I have /sbin/agetty -L 9600 ttyS0

in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable. I have putty configured for 9600 baud, 8 bits, no parity, one stop bit, no flow control.I get the login prompt from agetty in the putty window but input does not work; I see weird characters in the putty screen. I can echo output into the device from windows and see it, but

cat < /dev/ttyS0. just prints out weird characters from what I type.

View 3 Replies View Related

Fedora :: Finding A Free X Display Number?

Mar 9, 2010

how to find a free X display number?

I am using Xephyr to create a windowed session for logging in as another user. It needs its own X display, though. Obviously I can just give it :1.0 and hope for the best, that it would be better to identify the first free display and use that.

But I don't know how...

View 2 Replies View Related

OpenSUSE :: Vi Editor Ctrl-g Does Not Display Cursor Line Number

Aug 5, 2010

On Solaris UNIX, pressing Ctrl-g displays the line number for the cursor position.

i.e. line 1 0f n* --0%--

But, on suse Ctrl-g on displays the percentage only, not the hard line number

i.e. n* lines --8%--

Anyway I can make vi display hard line just like Solaris?

View 6 Replies View Related

OpenSUSE Install :: Maximum Number Of X Display Failures Reached?

May 4, 2009

I tried ubuntu for a few weeks, but I couldn't get the nvidia drivers to work, I tried everything. So, I got sick of that, and went to download OpenSuse, which seems to be even nicer (..... ) I downloaded the 11.1 liveCD (gnome) from here. I nicley got the welcome screen, and the option screen (liveCD, check errors etc.). I chose LiveCD and it started booting, I got the splash screen with the loading bar, and after it completely loaded, the screen turns black with a lot of messages and at the end:

Code:
GdmLocalDisplayFactory: Maximum number of X display failures reached: Check X server log for errors.
Great, I hoped for better luck after Ubuntu..
My sys. specs:
Asus F3Sc 32bit
Intel CentrinoDuo

[Code]...

View 2 Replies View Related

General :: How To Know Port Number Of Proxy Server

Nov 10, 2010

I live in a campus & I use wifi...I know the server host IP but dont know ftp port number....so I can not open ftp pages through google chrome as I cant specify the port number. Is there any way to know the port number?

View 3 Replies View Related

Fedora :: 14-Maximum Number Of Clients Reached - Unable To Open Display ?

Nov 6, 2010

Ever since upgrading to Fedora 14, my system has been almost unusable. I can only have a few windows of anything open before I start getting messages about:

Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedxwininfo: unable to open display ':0.0'

I am unable to open any new windows then and lots of programs crash.

When things are still running correctly.

A few minutes later:

View 3 Replies View Related

Programming :: Change Complex Number Display Mode (like -123.45e67 In To Real)?

May 9, 2011

How to change the complex number like -123.45e67 in to real number.
with command of awk print

View 1 Replies View Related

General :: Unix Ps -l Priority Whoes One Number In Column "PRI" But In Same Time Ps -o Pri Shows Another Number?

May 21, 2011

Why does unix ps -l whows one number in column "PRI" but in same time ps -o pri shows another number? cpu and nice are zero for those processes

View 1 Replies View Related

CentOS 5 Hardware :: NetMOS PCI 9835 Dual Serial Card - Can't Use The Serial Ports

Feb 21, 2009

On my CentOS 5.2 install I've installed a dual-port serial card based on the NetMOS 9835 chipset. I've followed the serial instructions, but everything they tell me to do is already done - see setserial outputs below. I've compared these values to the lspci output (below, NetMos card is at the bottom of the output) for the card and it appears right. Problem being, I can't use the serial ports. Oh and I did use search, and looked at every 9835-related article before posting this :)

[Code]....

View 17 Replies View Related

Debian Hardware :: How To Get Old Serial-touchscreen To Work With USB / Serial Adapter

Oct 9, 2015

I am hoping to be able to get an old serial-touchscreen to work with a usb/serial adapter. I had this touchscreen working some years ago on different hardware. I would like to hook it to the machine I am setting up as a multimedia host with mythtv among other things.

Following the instructions I left behind when I got this to work way back when does not work. See [URL] ....

This info is a work around to get the xserver to see the touchscreen. [URL] ....

I do know that the touchscreen works as I am able to get garbage on the screen as in the first part of my howto. But I have not had any success getting xorg to see it. I wish I had posted a copy of the xorg.conf at the time, but......

There is an issue with the current xserver in testing that I am hoping the next update (in unstable) will fix when it gets pushed to testing. That is that Code: Select all# X -configure fails with a segfault. So I am not able to generate the xorg.conf needed to get it to work. I was going to post a bugreport, that is when I found out there is an update in unstable, so I am waiting for it to get pushed at the moment.

Anyway I am hoping that I can link /dev/ttyUSB0 to /dev/tty0 and get it to work. I would like some kind of guess as to my chances of success before I go to all the work of getting the monitor hooked to the host.

View 1 Replies View Related

Ubuntu :: Serial MIDI - Doesn't See Any Serial Ports?

Jun 21, 2011

I have a bit of a dilemma. I'm attempting to use a microcontroller to send MIDI messages over a virtual serial port. I want to (eventually) read them with Mixxx. I'm using an FTDI chip, so I get a /dev/ttyUSB0. I've tried spikenzielabs' Serial-Midi program, but it doesn't see any serial ports. NOTEMIDI looks really old and won't compile on my 10.04 LTS machine.

View 2 Replies View Related

Software :: Connect A Serial Cable To The Serial Port?

Mar 23, 2010

We have a new machine with RedHat enterprise 5 on it. I need to connect a serial cable to the serial port and talk to another system (old alpha system) instead of using a VT connected to the alpha.Does RedHat come with anything like Keaterm/hyperterm/etc etc?

View 3 Replies View Related

Server :: Hdd Serial No

Apr 6, 2010

hi all,

How to find out server's HDD Serial no tried below command but didnt work,

#hdparm -I /dev/sda

so please help & Thanks in Advance.

View 3 Replies View Related

Security :: Display Of Number Of Failed Logon Attempt At Logon?

Jan 26, 2010

Our system is based on RH4 and is using pam_tally and faillog to record failed attempts and to lock users out after 5 attempts. We have a requirement to provide a normal (non-root) user logging onto our system, with information regarding the number of failed logon attempts made on their account before the current successful logon (similar to the functionality provided by HP Protect Tools on Windows). My first idea was to add 'faillog -u $USER' to the bashrc, however by the time the bashrc is run - the user has been successfully authenticated and the faillog has been reset back to zero.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved