Sponsored Content
Full Discussion: `ps` command truncating text
Top Forums UNIX for Dummies Questions & Answers `ps` command truncating text Post 29029 by Perderabo on Friday 27th of September 2002 02:45:38 PM
Old 09-27-2002
Quote:
Originally posted by keelba
The command line is apparently longer than 40 characters.
If you are only getting 40 characters, something else is wrong. I am getting 60 characters. I actually expected a few more characters. /usr/include/sys/pstat.h sets PST_CLEN at 64. I assume that includes a terminating null, so I should be able to see 63 characters. I don't know where my other 3 characters went. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Truncating a number using sed/awk

Hi all, I'm trying to truncate a number like the following: 0001060407013900501048239559900600504083525826350002050354795057 I would like to create an output which puts carriage returns every so many characters, giving an output such as: 0001 060407 0139 0 05 010482395599 0060... (4 Replies)
Discussion started by: michaeltravisuk
4 Replies

2. Shell Programming and Scripting

Truncating a variable

I have a variable that is a full path name and I just want the file name with out the extension. I have figured out how to do this using some temp files but I would really like to avoid that if possible. I know I can do echo ${TMPNAME%.*} to drop the extension is there a similar way to drop... (3 Replies)
Discussion started by: whdr02
3 Replies

3. UNIX for Dummies Questions & Answers

Truncating the last character

Hi all , I am creating the file which holds the create query to run in the sql prompt: so when i am creating: create table XXX( SD Varchar2(10), DF Varchar2(10),) I am getting one comma at the last ,before i am inserting the closing bracket i need to delete that? kindly provide me the... (1 Reply)
Discussion started by: ithirak17
1 Replies

4. UNIX for Dummies Questions & Answers

Truncating file based on date

Hi, I need to truncate a file based on date.Suppose i have a log file which is getting updated every date,i need to keep 7 days worth of data(like sysdate-7) and rest i want to truncate it.Can some help me? (5 Replies)
Discussion started by: Param0073
5 Replies

5. Shell Programming and Scripting

Truncating a mail file

Hi, I have a Unix mail file that I need to truncate, based on the date of the messages. For those not familiar with the format, it is a single file for each user, with the first line of the mail message looking like the following: From user@sitename.com Thu Apr 21 05:40:33 2011 Each... (3 Replies)
Discussion started by: joed
3 Replies

6. Shell Programming and Scripting

plink truncating commands

I'm using plink.exe on WinXP to run some commands on Z/OS BASH. My commands are interspersed with echo commands so that I can parse the output and work out what is where. The first hundred or so commands run fine, but then one of them gets truncated. For example: Input: echo :end_logdetail:... (6 Replies)
Discussion started by: PhilHibbs
6 Replies

7. Shell Programming and Scripting

nawk is truncating output

Legends, I have 2 files f1 and f2. when i use nawk to compare the difference(subtraction) from 4th column of the file, it truncates the output. can you please help to resolve this. subtraction is (4th col of f1 - 4th col of f2). but it gives only below lines out of 116. I want to print all... (7 Replies)
Discussion started by: sdosanjh
7 Replies

8. UNIX for Dummies Questions & Answers

awk truncating first field output?

Hello, I'm writing an Awk script to take a command line argument (student's name) and output their relevant student#, name, and marks. For some reason, awk arbitrarily removes the first digit from the student number and doesn't show me the proper output. Here is my code: #! /usr/bin/awk -f... (6 Replies)
Discussion started by: trashmouth12
6 Replies

9. Solaris

How to avoid truncating in ps output ?

Hello, This is Solaris 10 (x86) bash-3.2# cat /etc/release Solaris 10 5/09 s10x_u7wos_08 X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 30 March... (5 Replies)
Discussion started by: solaris_1977
5 Replies

10. Shell Programming and Scripting

Sendmail command truncating to list

Hey Folks - I'm trying to pass a list of To address using sendmail command but upon executing the script the to list gets truncated and not able to send the last sender : -bash-4.3$ ./akt.sh Date : 03-JUL-18 aaaaa.sss#bgttecre.bom trcikant.shrivas#bgttecre.bom abc#xyz.bom pqr#lmn.bom lion... (0 Replies)
Discussion started by: vyomdev
0 Replies
labelit_hsfs(1M)					  System Administration Commands					  labelit_hsfs(1M)

NAME
labelit_hsfs - provide and print labels for hsfs file systems SYNOPSIS
/usr/sbin/labelit -F hsfs [generic_options] [-o specific_options] special DESCRIPTION
labelit can be used to provide labels for unmounted CD-ROM images (CD-ROMs may not be labeled, as they are read-only media). generic_options are options supported by the generic labelit command. If no specific_options are specified, labelit prints the current value of all label fields. The special name should be the physical disk section (for example, /dev/dsk/c0d0s6). OPTIONS
-o Use one or more of the following name=value pairs separated by commas (with no intervening spaces) to specify values for specific label fields. According to the ISO 9660 specification, only certain sets of characters may be used to fill in these labels. Thus, ``d-characters'' below refers to the characters `A' through `Z', the digits `0' through `9', and the `_' (underscore) character. ``a-characters'' below refers to `A' through `Z', `0' through `9', space, and the following characters: !"%&'()*+,-./:;<=>?_. absfile= Abstract file identifier, d-characters, 37 characters maximum. applid= Application identifier, d-characters, 128 characters maximum. bibfile= Bibliographic file identifier, d-characters, 37 characters maximum. copyfile= Copyright file identifier, d-characters, 128 maximum. prepid= Data preparer identifier, d-characters, 128 maximum. pubid= Publisher identifier, d-characters, 128 maximum. sysid= System identifier, a-characters, 32 maximum. volid= Volume identifier, d-characters, 32 maximum. volsetid= Volume set identifier, d-characters, 128 maximum. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
labelit(1M), volcopy(1M), attributes(5) SunOS 5.10 20 Mar 1992 labelit_hsfs(1M)
All times are GMT -4. The time now is 04:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy