Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > What is the process "tail"?

What is the process "tail"?
Thread Tools
EnVoy
Mac Enthusiast
Join Date: Dec 2002
Location: Newport Beach, CA
Status: Offline
Reply With Quote
Feb 19, 2003, 12:02 PM
 
I've noticed a new process running called tail. I've located it in this path:

/usr/bin/tail

Anyone konw what it is?
     
troyw2000
Fresh-Faced Recruit
Join Date: Jan 2003
Location: Jacksonville, FL
Status: Offline
Reply With Quote
Feb 19, 2003, 01:34 PM
 
If you're unfamiliar with *nix systems, you should investigate using the "man" command. It's a built-in help system.

Anyways, go to your terminal/command line and type "man tail"

Here's a short excerpt:

NAME
tail - display the last part of a file

SYNOPSIS
tail [-f | -F | -r] [-b number | -c number | -n number] [file ...]

DESCRIPTION
The tail utility displays the contents of file or, by default, its stan-
dard input, to the standard output.
     
EnVoy  (op)
Mac Enthusiast
Join Date: Dec 2002
Location: Newport Beach, CA
Status: Offline
Reply With Quote
Feb 19, 2003, 02:13 PM
 
I have already checked that, and read it.

I'm curious as to why it is suddenly running as a process when it was non-existant before.....
     
dudesteve
Fresh-Faced Recruit
Join Date: Feb 2002
Status: Offline
Reply With Quote
Feb 19, 2003, 04:07 PM
 
well, something is causing it to run, obviously.

Maybe it'll help to follow the ppid back to find out how it was called, starting with something like:

ps -O ppid `ps -auwwx | grep tail | awk '{print $2}'`

and working your way backwards.
     
EnVoy  (op)
Mac Enthusiast
Join Date: Dec 2002
Location: Newport Beach, CA
Status: Offline
Reply With Quote
Feb 19, 2003, 04:47 PM
 
Maybe it'll help to follow the ppid back to find out how it was called, starting with something like:

ps -O ppid `ps -auwwx | grep tail | awk '{print $2}'`

and working your way backwards.


Thanks for your suggstion, you'll have to forgive me, this one is a little over my head. When I run that, I get this:

PID PPID TT STAT TIME COMMAND
427 423 p1 S+ 0:00.09 -tcsh (tcsh)
688 687 std Ss 0:00.03 -tcsh (tcsh)
     
dudesteve
Fresh-Faced Recruit
Join Date: Feb 2002
Status: Offline
Reply With Quote
Feb 19, 2003, 10:34 PM
 
hmm. well, that doesn't shed much light.

This indicates that tail wasn't actually running when you ran the command.

You'd need to provide more info about the currently running processes when you see a tail actually running if you really want to know.
     
BigMac2
Forum Regular
Join Date: Dec 2000
Location: Montreal, Quebec, Canada
Status: Offline
Reply With Quote
Feb 19, 2003, 11:55 PM
 
If you have DesktopConsole, that is why you got some tail's ;-)

DesktopConsole is using tail command for displaying logs on the desktop.
     
DaGuy
Senior User
Join Date: Oct 2000
Location: Lawrence, KS
Status: Offline
Reply With Quote
Feb 20, 2003, 04:02 AM
 
Some less sophisticated suggestions include:

1. Quitting suspect apps and then checking to see if the tails are still running.

2. Kill the tail process and see which app screams bloody murder -this one is evil.





     
EnVoy  (op)
Mac Enthusiast
Join Date: Dec 2002
Location: Newport Beach, CA
Status: Offline
Reply With Quote
Feb 20, 2003, 11:26 AM
 
BigMac2
If you have DesktopConsole, that is why you got some tail's ;-)

DesktopConsole is using tail command for displaying logs on the desktop.


Good call BigMac2, that was it. Thanks for your help..... (and everyonelse too!)
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 11:54 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,