Sponsored Content
Full Discussion: Tail -f Command help
Top Forums UNIX for Beginners Questions & Answers Tail -f Command help Post 303026880 by Corona688 on Tuesday 4th of December 2018 01:20:12 PM
Old 12-04-2018
To repeat: Files do not work that way. Even when you share the file -- which you can't without big changes in your server -- you'll be stuck running tail -f in a local terminal instead of a remote one, because text editors don't work that way either.
Quote:
But --
Files do not work that way.
Quote:
-- maybe if I --
Files do not work that way.
Quote:
-- But why can't I --
Because files don't work that way.

It would be worth your while to reconsider the problem from any other angle besides "magically growing file", or better yet, explain what you actually want. You might be quite surprised when you go through all the trouble of setting up an NFS only to discover that what you thought you needed hasn't actually solved your problems. tail -f in putty actually works surprisingly well.

Perhaps, is the problem the inconvenience of having to type passwords into putty? There are automatic login features you could be using. putty can do logging, also, and even network forwarding, allowing you to connect to services on the server.

Otherwise, you have information you wish to transmit from point A to point B in realtime. Perhaps netcat?

You could do full-out network or centralized logging, perhaps, and have an infrastructure to warn you of certain events.

Last edited by Corona688; 12-04-2018 at 02:40 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

help with !(tail -2) command.. using pipes

I am trying to using pipe (|) with ! (not) operator to list all the other files except the latest two and I am using the following command. $ ls -ltr *.lst|!(tail -2) ksh: 20050211180252.lst: cannot execute but it is trying to execute the file returned by tail -2. I am able to do that in 4... (8 Replies)
Discussion started by: sdlayeeq
8 Replies

2. Shell Programming and Scripting

tail command

Hi , I have found a interesting thing about tail command: when I tried to use 'tail -1 *' to look at every file with the current derectory, I only got one line of result of one file. But if I use 'head -1 *', I would get multiple lines. Is there a way to do get multiple lines with 'tail -1 *'... (3 Replies)
Discussion started by: whatisthis
3 Replies

3. Shell Programming and Scripting

tail command..

I was wondering how can I do this I have file myfile.txt wc -l is: 5 000 000 I have to remove first 1 000 000 lines from header.. I tryed with tail -4000000 myfile.txt>newfile.txt but it does not work... any help?? (2 Replies)
Discussion started by: amon
2 Replies

4. Solaris

Tail command in one line

HI i have to copy the last 5000 lines form a log file and copy the same in the same file .overwriting the same log file. ex: tail -5000 testfile1 > testfile2 cat testfile2 mv tesftfile2 testfile1 will produce the correct result.but i want to have this done in one line???? (4 Replies)
Discussion started by: saurabh84g
4 Replies

5. Shell Programming and Scripting

Help with tail command

Hi All, My query seems to be silly but Iam unable to find where the exact problem lies. I have a script to unzip set of files here is the script #!/bin/ksh Count=`cat /home/gaddamja/Tempfile | wc -l` while do Filename=`cat /home/gaddamja/Tempfile |tail -$Count | head -1` cd... (7 Replies)
Discussion started by: jagadish_gaddam
7 Replies

6. UNIX for Dummies Questions & Answers

Tail command with wildcard file name

Please help with the following command tail -f /appdata/logs/alert_audit517.txt | grep "Sep 02" The problem I have is with the file name "alert_audit517.txt". The 3 digit number at the end of the file name changes, so I need the file name to use a wildcard. Ive tried alert_audit***.txt, but... (5 Replies)
Discussion started by: robertson1995
5 Replies

7. Shell Programming and Scripting

tail command problems

Hi, In my home directory, there are so many files. i tried to get the lastly created file by following command. file=`ls -lrt MXOfiles* | tail -1` As there are so many files, it displays "$ : 0403-027 The parameter list is too long." Can someone tell me how can i get the recent file... (1 Reply)
Discussion started by: JSKOBS
1 Replies

8. Shell Programming and Scripting

tail command help

Hi does anyone know how to create a file using the tail command? My book has this file I need to create and it says to use the tail command and that it is possible but I have no idea. Thanks. (4 Replies)
Discussion started by: drew211
4 Replies

9. Homework & Coursework Questions

Using tail with the filter command

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Devise a chain of filters using some or all of the following programs pr, cut, cat, tail to display a numbered... (8 Replies)
Discussion started by: hbell221
8 Replies

10. How to Post in the The UNIX and Linux Forums

Usage of tail command in .awk

Hi, I want to do file format using awk script, for that i wan to use 'tail'. Here is the scenario. I will be having set of files in a directory. Those files i need to write to another directory with same file name, but while writing the file to out directory, i need to write the last line as... (3 Replies)
Discussion started by: Venkata Madhu
3 Replies
VUSB-ANALYZER(1)					       Virtual USB Analyzer						  VUSB-ANALYZER(1)

NAME
vusb-analyzer - tool for visualizing logs of USB packets SYNOPSIS
vusb-analyzer [OPTIONS] LOGFILE [LOGFILE...] DESCRIPTION
The Virtual USB Analyzer is tool for visualizing logs of USB packets, from hardware or software USB sniffer tools. It's the world's first tool to provide a graphical visualization along with raw hex dumps and high-level protocol analysis. The Virtual USB Analyzer is not itself a USB sniffer tool. It is just a user interface for visualizing logs. It currently supports two log formats, but it's designed to be easily extensible. With a couple hundred lines of Python code, you can add support for your favorite log format. The Virtual USB Analyzer was developed at VMware as an efficient way to debug their own USB virtualization stack. They wanted a tool that made it easy to see problems at a glance, and they wanted a way to solve both correctness and performance bugs. As a result, they ended up with what they think is a fairly unique tool. They're excited to have the opportunity to release this tool as open source software. Supported Log Formats * Logged USB traffic from debug builds of VMware Fusion, Workstation, or Player. See the tutorial for information on capturing such a log. * XML logs from the Ellisys USB Explorer 200, a hardware USB 2.0 analyzer. Features * Unique graphical timeline view. * Side-by-side diff mode: visually compare two log files. * Pluggable log format modules: VMware, Ellisys. * Pluggable protocol decoders: USB Chapter 9, Bluetooth, Storage, Cypress FX2. * Packet metrics and filtering tools. * Whole-bus analysis: analyze multiple devices concurrently. * Written in Python, with a GTK+ user interface. * Automatic "tail -f" mode: follow log files as they grow. * Loads large log files in the background. You can start browsing before the whole file is loaded into memory. * Automatic decompression of gzipped log files. OPTIONS
-t Tail mode, start from the end of a growing log file. HOMEPAGE
More information about vusb-analyzer, including a tutorial and sample logs, can be found at <http://vusb-analyzer.sourceforge.net/>. AUTHOR
vusb-analyzer Micah Dowty <micah@vmware.com>. This manual page was written by Daniel Baumann <daniel@debian.org>, for the Debian project (but may be used by others). 1.0 2009-05-17 VUSB-ANALYZER(1)
All times are GMT -4. The time now is 04:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy