Operating System - HP-UX
1752786 Members
6219 Online
108789 Solutions
New Discussion юеВ

Re: Cmviewcl -truncated pkgname problem

 
Roger Baptiste
Honored Contributor

Cmviewcl -truncated pkgname problem

Hi,

Cmviewcl doesn't seem to
display the whole package name.
It truncated it to a maximum
12bit field length. This causes
confusion in reading the cmviewcl
output. Eg:
-----

cmviewcl -l package | grep -v PACK | awk '{print $1}'

pkg_gtrata_o
pkg_gtrata_o
pkg_gtrata_p
pkg_gtrata_o
pkg_gtrata_d
------------

It doesn't display the whole
package names, as seen above.

Is this a bug , if so, is there a fix?

thanks
raj
Take it easy.
4 REPLIES 4
John Palmer
Honored Contributor

Re: Cmviewcl -truncated pkgname problem

Hi,

The quickest resolution that I can think of is to rename your packages to reduce the length.

Do they really all have to start with 'pkg_gtrata_'? The package name is only relevant within the cluster.

If they have to include that string then could you have it as a suffix rather than a prefix?

Regards,
John
Roger Baptiste
Honored Contributor

Re: Cmviewcl -truncated pkgname problem

John, thanks for the reply.
Yeah, we have that option and would like to do so for future packages. But, since this
is such a simple need , i thought
a fix may be available for it.

Any thoughts from HP itself?

thanks
Take it easy.
Rita C Workman
Honored Contributor

Re: Cmviewcl -truncated pkgname problem

I did a search at the IT Resource Knowledge Base (cmviewcl truncate) and came up with references to a couple patches. But I don't know that this covers your problem. Thought I'd pass it on to you so you could check them out yourself though...

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=936de53203be1a92a6/screen=ckiDisplayDocument?docId=200000048743343

/rcw
Stephen Doud
Honored Contributor

Re: Cmviewcl -truncated pkgname problem

You have discovered that the package name length limitation is in the cmviewcl output, which is formatted such that the package name field will only display the first 12 characters. To my knowledge there is no patch to stretch out the cmviewcl output.

I suggest you eliminate obvious/duplicate information in each package name - such as pkg_gtrata.

Shorter names will also be easier to distinquish and use.