02-14-2019
10 More Discussions You Might Find Interesting
1. HP-UX
The results of a uname -a command in my HP box render the following:
HP-UX msphnyc1 B.10.20 A 9000/889 1601445741 two-user license
This is one of four machines, with the other three reporting that I have a "16-user" license. I know that my company bought 16-user licenses for all four... (3 Replies)
Discussion started by: cdunavent
3 Replies
2. Programming
the code is below and the was run on Solaris 9.
-----------------------------
struct sched_param param;
param.sched_priority = 99;
if(sched_setscheduler(0, SCHED_RR, ¶m) == -1)
{
perror("setting priority");
exit(1);
}
-------------------------------
after the... (1 Reply)
Discussion started by: robin.zhu
1 Replies
3. Shell Programming and Scripting
I have an HP PPM (ITG) application that is running an awk command in cygwin bash shell as part of ITG process moving SAP transports on a Windows 2003 server. The awk command checks the first two characters of a file containing return code that was retrieved from the SAP server. It is throwing the... (3 Replies)
Discussion started by: accsam1
3 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. UNIX for Advanced & Expert Users
Hi guys,
i'm running a program on samsumg 6410 arm cpu board. it caused an "free(): invalid next size (normal)" fail.
i try to use gdb for remote debugging:
1, start gdb server on board:
gdbserver 192.168.1.20:1234 ./HostAP
Process ./HostAP created; pid = 499
Listening on port... (8 Replies)
Discussion started by: ss1969
8 Replies
6. AIX
Hi,
I want to update managed system firmware using HMC.
The easiest way to me is to download firmware directly to HMC hard disk. Question:
Where shoud I put downloaded firmware in HMC hard disk ? - selection says "Hard disk" - no path no anything.
thanks
Vilius M. (0 Replies)
Discussion started by: vilius
0 Replies
7. Shell Programming and Scripting
I'm trying to execute something like this:
exec perl -i -pe 's/\015/\012/g' '${file}'
in my expect script and I get:
error "invalid command name \"perl\".
however, if I run
perl -i -pe 's/\015/\012/g' "/Users/Shared/menu-items.txt"
directly in my terminal, it runs fine. I'm an... (4 Replies)
Discussion started by: dpouliot
4 Replies
8. AIX
The Follwing packages are installed on my AIX 6.1 box
gcc-4.7.2-1
gcc-c++-4.7.2-1
gcc-cpp-4.7.2-1
gcc-gfortran-4.7.2-1
libgcc-4.7.2-1
libgomp-4.7.2-1
libstdc++-4.7.2-1
libstdc++-devel-4.7.2-1
gmp-5.0.5-1
libmpc-1.0.1-2
libmpc-devel-1.0.1-2
libmpcdec-1.2.6-1
libmpcdec-devel-1.2.6-1... (0 Replies)
Discussion started by: Ashish Gupta
0 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I'm completely new to bash scripting and still learning my way through albeit vey slowly.
I need to know where to insert my server names', my ip address numbers through out the script alas to no avail.
I'm also searching on how to save .sh (bash shell) script properly.... (25 Replies)
Discussion started by: profileuser
25 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
tangram::type
Tangram::Type(3pm) User Contributed Perl Documentation Tangram::Type(3pm)
NAME
Tangram::Type - mapping individual fields
DESCRIPTION
Tangram's persistent type system is extensible, allowing you to mount your own types and make them persistent. All you have to do is to
register your type and provide mapping code. See Tangram::Type::Extending.
Tangram comes with built-in support for the following types:
Simple Scalar types
Supported are strings, integers, real numbers and dates. More types of this ilk are easily added.
"string", "int", "real": see Tangram::Type::Scalar
"date", "time", "datetime", "dmdatetime": see "Date/Type/Date/DateTime" in Tangram::Type
Compound Structure types
"perl_dump": see Tangram::Type::Dump::Perl. A "perl_dump" structure may contain any structure which Data::Dumper can dump success-
fully.
"storable": see Tangram::Type::Dump::Storable. Very much like "perl_dump", but implemented via the `Storable' serialisation engine.
"yaml": see Tangram::Type::Dump::YAML. Very much like "perl_dump", but implemented via the `YAML' serialisation engine. Doesn't cur-
rently work, due to inadequacies in the current Perl YAML implementation.
NEW in Tangram 2.08:
"idbif": see Tangram::Type::Dump::Any. Like the above, but can combine multiple object properties into a single database column.
`Flat' Array & Hash types
Note: these are only actually required if you need to be able to query on individual fields inside the array/hash - otherwise, the
"perl_dump" or "idbif" mapping is a lot faster and more flexible.
"flat_array": see "Array/Scalar" in Tangram::Type
"flat_hash": see "Hash/Scalar" in Tangram::Type
References to other objects
"ref": see Tangram::Type::Ref::FromMany (implementing an N to 1 relationship, in which any object can be the referant)
Sets of other objects
Set relationships are closest to the main type of relationship used in an RDBMS. Avid CompSci students will know that the relational
database model is based heavily on `Set Theory', which is a subset of a more general concept of `Categories' - generic couplings of a
number of classes.
In Perl space, these collections are represented via the Set::Object module. Sets may not have duplicate elements, and cannot contain
undef values.
"set": see Tangram::Type::Set::FromMany (implementing an unordered N to N relationship, with all objects sharing a common base class)
"iset": see Tangram::Type::Set::FromOne (implementing an unordered 1 to N relationship, with all objects sharing a common base class)
Arrays of other objects
The addition to Sets, you can have `Arrays' of objects, represented by a standard Perl array in memory. Arrays may contain undef val-
ues (in the middle of the list), and the "array" type may contain duplicates (ie, the same element present in seperate places in the
list).
"array" : see Tangram::Type::Array::FromMany (implementing an ordered N to N relationship, with all objects sharing a common base
class)
"iarray": see Tangram::Type::Array::FromOne (implementing an ordered 1 to N relationship, with all objects sharing a common base class)
Hashes of other objects
Much like the Array types, the Hash types are indexed via a string value, and represented as a Perl hash in memory. These hashes may
not contain undef values (those are dropped). The "hash" type may contain duplicate elements.
"hash" : see Tangram::Type::Hash::FromMany (implementing a keyed N to N relationship, with all objects sharing a common base class)
"ihash": see Tangram::Type::Hash::FromOne (implementing a keyed 1 to N relationship, with all objects sharing a common base class)
perl v5.8.8 2006-03-29 Tangram::Type(3pm)