LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-25-2017, 12:40 PM   #1
rlx
Member
 
Registered: Jul 2009
Location: Montréal
Distribution: Slackware customized
Posts: 50

Rep: Reputation: 13
[Solved] Is there a system program that can tell which process is writing to the console


Hi,

The problem is that just after booting some program starts writing the following line repeatedly once every second at the console (first virtual terminal).

write statuslist

I just updated my distribution (Slackware) over my day-to-day partition. Since most of the programs changed it is almost impossible to guess which update is at the origin of this new behavior.

My question is: Is there a system program that can help me point to the process that is writing on the console so I can look at the config files for that process?

Thanks

Last edited by rlx; 08-29-2017 at 10:26 AM. Reason: To mark the post solved.
 
Old 08-25-2017, 03:18 PM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Quote:
Originally Posted by rlx View Post
Is there a system program that can help me point to the process that is writing on the console so I can look at the config files for that process?
Don't know.

As a starting point you could, as root, log on to virtual terminal 2 and run:
Code:
# lsof | grep /dev/tty1
That should show you all processes that have the terminal open.
 
Old 08-29-2017, 10:25 AM   #3
rlx
Member
 
Registered: Jul 2009
Location: Montréal
Distribution: Slackware customized
Posts: 50

Original Poster
Rep: Reputation: 13
[follow up]

Thanks norobro, that's the program I was looking for. That's a program I don't use very often, but quite useful when weird things happen.

The culprit was tprintdaemon, a paid for printer driver for my Canon color printer. I reinstalled the program, connected my printer and restarted the daemon. I had disconnected the printer since I needed to open my PC and I forgot to connect the usb cable afterwards. My bad.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to map system user with process/program t_granat Linux - Newbie 8 06-15-2017 10:26 AM
Alternative to kill system call using c program to test only process. deymrinmoy Linux - Kernel 3 01-16-2013 10:47 PM
[SOLVED] redirect system console to a virtual terminal or a file but after boot process agambier Linux - Kernel 1 03-08-2011 03:24 AM
writing c program to shutdown linux system curiousMe Linux - Newbie 1 09-12-2010 12:21 PM
Writing a CPU Consume Program to Test a Distributed System russelh Programming 4 11-30-2004 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration