Sponsored Content
Full Discussion: [Tip] ptree for Linux
Top Forums UNIX for Advanced & Expert Users [Tip] ptree for Linux Post 303043043 by MadeInGermany on Thursday 16th of January 2020 06:37:56 AM
Old 01-16-2020
The -H is specific to GNU ps (Linux).
It does an indentation (two spaces per hierarchy level) without any ASCII art. This is easy to post-process i.e. filter for the releavant parts.
This User Gave Thanks to MadeInGermany For This Post:
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Meaning of ps -afe ,ps -fp and ptree

Hello, I was searching for the meaning of commands like ps -afe ,ps -fp and ptree but was not able to find there exact meaning .... Pls help me in getting these... Thanks in advance, Pradeep (1 Reply)
Discussion started by: PradeepRed
1 Replies

2. Gentoo

ptree for linux

at work, I'm a UNIX administrator, but at home I use openSUSE 11. One of the commands that I use to assist me in trouble shooting A LOT is called ptree process tree. does anyone know of a ptree for linux? yes, I can just use ps -ef and see who the parent pid is and then 'ps -ef | grep <parent... (4 Replies)
Discussion started by: james.witte
4 Replies

3. Red Hat

pfiles and pstack and ptree

Can someone tell me the Linux equivalent for pstack and pfiles and ptree which are Solaris commands. (1 Reply)
Discussion started by: bdsffl
1 Replies

4. Solaris

kill the processes seen under ptree

Hi, How to kill the processes running under ptree ? I am noticing lot of processes running under ptree with ssh ? I tried to kill with -9 option which is not working ? Thanks, Radhika. (2 Replies)
Discussion started by: radhirk
2 Replies

5. Shell Programming and Scripting

prstat from ptree ...

Hi, I know how to figure out the list of PID from my application name : ptree `pgrep MyApp` | awk '{print $1}' But I dont know how to pipe it for prstat -p <pidlist> ptree `pgrep MyApp` | awk '{print $1}' | prstat -p ??? I would like to monitor every ptree PID from my application. ... (4 Replies)
Discussion started by: RickTrader
4 Replies

6. Linux

ct, cu, tip, on commands in Linux

Please help me to find out the equivalent commands for the following solaris commands in Linux 1. ct 2. cu 3. tip 4. on Your help will be appreciated. Thanks in advance. ~Saravana (0 Replies)
Discussion started by: tsaravanan
0 Replies

7. UNIX for Dummies Questions & Answers

Linux Tip: How to Configure PPP for dialup for a single machine?

I shall explain how to setup PPP on your Linux machine, so that you can connect to the Internet using an external modem and a Dialup connection. This article explains the setup for the superuser alone (Not normal users).My Setup : My external modem (56kbps) is connected to the Serial Port :... (0 Replies)
Discussion started by: EliteHussar
0 Replies

8. Linux

similar command of ptree in linux

Hello guys, Is there any command to check the all child processes of a process like `ptree`? ptree is not working in Linux.. Regards, Raghu (3 Replies)
Discussion started by: raghu.iv85
3 Replies
la88cof(8)						      System Manager's Manual							la88cof(8)

NAME
la88cof - Filter for the Simplified Chinese LA88 printer SYNOPSIS
/usr/lbin/la88cof [-c] [-h host] [-i indent] [-l length] [-L locale] [-n login] [-w width] [accounting_file] OPTIONS
Prints control characters. Specifies the host name of the job owner. This name can contain Hanzi characters. Specifies the amount of indentation. The default value is no (no indentation). Specifies the page length in lines. The default value is 66. Specifies the printer codeset. This value must be a valid locale name. The default value is zh_CN.dechanzi. Specifies the login name of the job owner. This name can contain Hanzi characters. Specifies the page width in columns. The default value is 132. OPERANDS
Specifies the file to record accounting information. DESCRIPTION
The la88cof filter is used to filter text data for the LA88-C printer. The filter handles the device dependencies of the printer and per- forms accounting functions. At print job completion times, accounting records are written to the file specified by the af field in the /etc/printcap file. The la88cof filter can handle plain text files and files that have been preprocessed by nroff. Either kind of file can contain non-ASCII characters. The filter translates nroff control sequences for underlining, superscripting, and subscripting into the proper control sequences for the LA88-C printer. The la88cof filter can be the specified filter in both the of and the if fields in the /etc/printcap file. For more information on these fields, see printcap(4). The LA88-C printer can be configured to use the software on-demand loading (SoftODL) mechanism to print user-defined characters (UDCs). See i18n_printing(5) for a more detailed description of SoftODL. To enable SoftODL printing, set the ys field in /etc/printcap to 256. You can also set the default SoftODL database, style, and size by including the odldb and odlstyle options in the ya field. If you specify a value for the yt field, use fifo. For more information on these fields, see printcap(4). NOTES
The lpr command supports a number of options and associated arguments to enable localization features supported by various printers. The following can be used with the la88cof print filter: To specify the SoftODL database path To specify SoftODL font style and size For a complete description of the -A option and its arguments, refer to lpr(1). ERRORS
The lf field (default value is /dev/null) in the /etc/printcap file specifies the name of the error log. SEE ALSO
Commands: lpr(1), pr(1), lpd(8), pac(8) Files: printcap(4) Others: i18n_printing(5) la88cof(8)
All times are GMT -4. The time now is 09:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy