Discover the program that use serial port (Sherlock Holmes Case)

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Operating Systems AIX Discover the program that use serial port (Sherlock Holmes Case)
# 1  
Discover the program that use serial port (Sherlock Holmes Case)

I received a server that use AIX 5.x.

This server was installed from a company that doesnt exist now, and they dont leave information about it.

I only know that they installed a program that recieve information from some tty in a special format and as it is a tty, with some baud rate, data bits, etc. After that the program resend the info to another server.

My Sherlock Holmes task is to find out what program do this task, and try to find out the special format this program use, and from which tty port.

Any clues to find out this info?

Thanks !!!
# 2  
Some starting ideas:
- process table with ps -ef and check entries using a tty
- lslpp -h to find out if there is a package installed at some given date
This User Gave Thanks to zaxxon For This Post:
# 3  
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.


Last edited by bakunin; 07-08-2017 at 10:07 AM..
This User Gave Thanks to bakunin For This Post:
# 4  
I suppose its too much to hope they put something which uses a physical terminal device into /etc/inittab.
This User Gave Thanks to Corona688 For This Post:
# 5  
The command lslpp -h show me a lot of info, several programs was installed on that dates.
Looked in the inittab with no success, used fuser and found the program that use the tty, but nothing could found besides of that, configuration or other relevant info.
Also helped the use of ps -ef

Once found the relevant info, I opened a new question about GPS and tty Parameters
Connect GPS to serial port AIX 5.x

I consider bouth questions succesfully answered and closed
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #383
Difficulty: Medium
Solaris 2.5.1 was registered as UNIX 95 compliant on the PReP PowerPC platform.
True or False?

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

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

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

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

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

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

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

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

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

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

Featured Tech Videos