Sponsored Content
Operating Systems AIX Discover the program that use serial port (Sherlock Holmes Case) Post 303000237 by bakunin on Friday 7th of July 2017 04:44:21 AM
Old 07-07-2017
A few other ideas:

- there is only a limited number of ttys. Try the fuser command on all of them to find out which process(es) is(are) using it. The examine the found processes.

- if you feel confident enough you can also use kdb (kernel debugger) to examine the processes properties although you will have to find out the details yourself, i don't have the documentation at hand.

- receiving data from a tty means there has to be a physical serial connection to the server. check that and find out the corresponding tty device to further limit the number of devices to examine if you have physical access to the server.

I hope this helps.

bakunin

Last edited by bakunin; 07-08-2017 at 09:07 AM..
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Serial port communication

We're running SCO Unix Openserver 5.05 and I'm having trouble with serial communication between the com2 serial port and a handheld device. Downloading data from Unix to the handheld works perfectly, but the other way around creates a major problem. I don't know whether it's a buffer overflow or... (1 Reply)
Discussion started by: Aretha
1 Replies

2. UNIX for Dummies Questions & Answers

serial port configuration

I am having trouble with a device connected through a serial port on my sun workstation ( I am running solaris 7). The seriel device works on an identical workstation running the same o/s version but when I move it to the initial workstation it doesn't work. I am using an rs232 serial cable and... (1 Reply)
Discussion started by: Henrik
1 Replies

3. Solaris

serial port signal

hi i am using solaris 9 on sparc . i was wondering if there was a command to control my serial interface , as to send a signal periodically every interval of time to the input of a 555 timer . thanks for your help .... (0 Replies)
Discussion started by: ppass
0 Replies

4. Programming

Programming serial port

Hello! Can someone advice me which method I will use if I want to communicate with device via RS232 serial port with this requirements: 1. Serial port is opened in non-canonical mode. 2. All the time I need to check is there something to read. 3. If I have to write something I need to write it... (6 Replies)
Discussion started by: jvrlic
6 Replies

5. AIX

Serial port in AIX

Hi, How can i configure my modem in AIX thru serial port (sa0-->tty0) I have two port serial card configured as sa0 I created tty1 which port is tty0 and which port is tty1 how can i know?? (1 Reply)
Discussion started by: pchangba
1 Replies

6. What is on Your Mind?

Member Reviews of the Movie: Sherlock Holmes

In our last review post, members reviewed Avatar. Now, let's discuss Sherlock Holmes. (3 Replies)
Discussion started by: Neo
3 Replies

7. 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

8. 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

9. Solaris

Using PC serial port from ReflectionX

I am using ReflectionX on a windows PC to run an application on a Solaris box. The application uses the serial port and expects a definition like: /dev/ttyb Is there a way to use the PC serial port through ReflectionX? PC is running Windows-XP Solaris Box is: Sun Microsystems sun4u... (1 Reply)
Discussion started by: deanjennings
1 Replies

10. 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
tapset::tty(3stap)														tapset::tty(3stap)

NAME
tapset::tty - systemtap tty tapset DESCRIPTION
tty.open Called when a tty is opened See probe::tty.open(3stap) for details. tty.release Called when the tty is closed See probe::tty.release(3stap) for details. tty.resize Called when a terminal resize happens See probe::tty.resize(3stap) for details. tty.ioctl called when a ioctl is request to the tty See probe::tty.ioctl(3stap) for details. tty.init Called when a tty is being initalized See probe::tty.init(3stap) for details. tty.register Called when a tty device is registred See probe::tty.register(3stap) for details. tty.unregister Called when a tty device is being unregistered See probe::tty.unregister(3stap) for details. tty.poll Called when a tty device is being polled See probe::tty.poll(3stap) for details. tty.receive called when a tty receives a message See probe::tty.receive(3stap) for details. tty.write write to the tty line See probe::tty.write(3stap) for details. tty.read called when a tty line will be read See probe::tty.read(3stap) for details. SEE ALSO
probe::tty.open(3stap), probe::tty.release(3stap), probe::tty.resize(3stap), probe::tty.ioctl(3stap), probe::tty.init(3stap), probe::tty.register(3stap), probe::tty.unregister(3stap), probe::tty.poll(3stap), probe::tty.receive(3stap), probe::tty.write(3stap), probe::tty.read(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::tty(3stap)
All times are GMT -4. The time now is 10:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy