command to monitor the Serial port


 
Thread Tools Search this Thread
Operating Systems AIX command to monitor the Serial port
# 1  
Old 12-10-2008
command to monitor the Serial port

Hi,

Can anyone please tell me how to check the status of the serial port ??

for example,in Sun os we use the command pmadm to see the status of the serial port--
Quote:
# pmadm -l
PMTAG PMTYPE SVCTAG FLGS ID <PMSPECIFIC>
zsmon ttymon ttyb u root /dev/term/b I - /usr/bin/login - 9600 ldterm,ttcompat ttyb login: - tvi925 y #
zsmon ttymon ttya u root /dev/term/a I - /usr/bin/login - 9600 ldterm,ttcompat ttya login: - tvi925 y #
So is there any command or method in AIX,So that i can see the serial port status ??
thanks in advance ...

Last edited by smartgupta; 12-10-2008 at 04:20 AM..
# 2  
Old 12-10-2008
I don't understand what exactly you mean by "monitoring". Do you want to know the attributes of the device as your provided output suggests? If so, use, depending on what you want to know, one of the following

Code:
lsattr -El <device>
lscfg -vp -l <device>

You might want to have a look in the manpages about lsattr and lscfg to find out about possible variations of these commands.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

2. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

3. Shell Programming and Scripting

Need help with serial port

Hi, I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies

4. Shell Programming and Scripting

Monitor Port, if active, pipe command to screen

I am a linux newbie and I am learning. I need a script that will monitor a port and if active -- only active, not listening or waiting -- then pipe some commands to the screen as if they were typed on the keyboard. Can a bash or perl script do this and if so, could someone help me out? Thanks. (0 Replies)
Discussion started by: bulgin
0 Replies

5. OS X (Apple)

Serial port parameters

Hello, I am trying to use a rs232 device through a USB serial port on my MacBook pro laptop. I think the device needs the communication parameters to be 9600 n 8 1 my question is does anyone know what the default communication parameters are for mac os x 10.5.7 unix? And if the default... (0 Replies)
Discussion started by: jamesapp
0 Replies

6. Solaris

Serial port problem

I am working with solaris 9 sparc and I want to connect physical device in serial port but when I am connecting it,It is showing the error window saying-- So can any1 tell me the reason or is there any package I have to add to work with serial port??? (2 Replies)
Discussion started by: smartgupta
2 Replies

7. Programming

Serial port programming

I am developing an application in c with Linux OS, where a radio modem working at baud rate 9600 will be attached to PC on serial port. More than four such units will be communicating at one time, so there may be jamming or data corruption. Each module will be transmitting Data packets less than... (2 Replies)
Discussion started by: raj8109
2 Replies

8. SCO

Serial port configuration

Hi I have just re-installed Compaq ML350 G2 Server with Unix SCO 5.0.5 and informix DBMS . on this server we have 2 serial ports , unfortunately its not working. Can anyone help me to check the serial ports working or not OR guide me to reconfigure it. I have attached a device with... (1 Reply)
Discussion started by: munirh
1 Replies

9. Linux

urgent......Serial port

I think my serial port(on board) is not working ...... because when I am running same code on two machines its working good....but when my system comes into picture ....it doesnt show any output comming from serial port.......... can anybody tell me how to configure my serial port.........or to... (16 Replies)
Discussion started by: arunchaudhary19
16 Replies

10. UNIX for Advanced & Expert Users

How to set baude rate of Serial port using setserial or other command

Hello, I am encountering problems when I use termios structure to set my baud rate of serial port. Pls give me a way by which I can set the same using a different command (1 Reply)
Discussion started by: zaheer031
1 Replies
Login or Register to Ask a Question