10-18-2012
solved
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
if someone now how can look
the last commands has used for last week? (1 Reply)
Discussion started by: Niko
1 Replies
2. Solaris
Hi all,
Could please let me know how to get the more memory free space (not added the RAM) in local zone.
-bash-3.00# vmstat 2 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy... (3 Replies)
Discussion started by: murthy76
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am using vi to edit file
vi filea
:e fileb
and :e# to switch between filea and fileb
Now, I'd like to have many files open at the same time and have a way to cycle between them.
:bn does not work; when I type it, nothing happens...
Is there something to add to the... (1 Reply)
Discussion started by: JCR
1 Replies
4. Solaris
Hi,
I have a problem one of the server file system cross the limitation
MountPoint / is 8% with 899.49MB free crossing threshold of 10% free
out put please help how to resolve this
dev/vx/dsk/bootdg/rootvol
9.8G 8.8G 956M 91% /
/devices ... (3 Replies)
Discussion started by: sriniva0
3 Replies
5. Shell Programming and Scripting
i have two files as
file1:
1
2
3
file2:
a
b
c
and the output should be:
file3:
1~a
2~b
3~c (1 Reply)
Discussion started by: mlpathir
1 Replies
6. Programming
Hello,
size_t write(int fd, const void *buf, size_t count)
{
static size_t (*write_func)(int, const void *, size_t) = NULL;
if (!write_func)
write_func = (size_t(*)(int, const void *, size_t)) dlsym(RTLD_NEXT, "write");
char tmp;
memcpy(tmp,buf,count);
... (3 Replies)
Discussion started by: chercheur857
3 Replies
7. Programming
Greetings,
Having an issue with the expect_out(buffer). in a foreach loop through some switches I am grabbing some arp table information and writing it out to output files (1 each for each switch looped through).
The first iteration works fine. the second iteration of the loop writes the... (0 Replies)
Discussion started by: SuperSix4
0 Replies
LEARN ABOUT DEBIAN
gdcmgendir
gdcmgendir(1) GDCM gdcmgendir(1)
NAME
gdcmgendir - Tool to generate a DICOMDIR file from a File-Set.
SYNOPSIS
gdcmgendir [options] file-in file-out
DESCRIPTION
PARAMETERS
file-in DICOM input filename
file-out DICOM output filename
options
Parameters
options
-i --input DICOM filename or directory
-o --output DICOM filename or directory
-r --recursive recursive.
--descriptor descriptor.
--root-uid Root UID.
general options
-h --help
print this help text and exit
-v --version
print version information and exit
-V --verbose
verbose mode (warning+error).
-W --warning
warning mode, print warning information
-E --error
error mode, print error information
-D --debug
debug mode, print debug information
environment variable
GDCM_ROOT_UID Root UID
Typical usage
NOTE
One may have to run some preliminary steps in order to get gdcmgendir to generate the DICOMDIR file. Namely two steps:
o Batch renaming of the DICOM filename into something compatible with ISO 9660 filename convention
o Convert all DICOM file into the Explicit VR Little Endian Uncompressed (1.2.840.10008.1.2.1)
Step 1. can be solved in a numerous way. Eg. on UNIX environment this could either be solved using the mkisofs command line tool. filename
should not contains any extension since the VR CS does not allow for the '.' character. Only upper case, digit 0-9, the space ' ' and the
underscore '_' character are valid in VR CS, with a maximum of 8 bytes. Another simple tool that can be handy is 'rename' in conjunction
with 'basename'.
Step 2. can simply be achieved using the gdcmconv command line tool:
$ for i in `ls IMG*`; do gdcmconv --raw --force $i /tmp/out/$i; done
SEE ALSO
gdcmconv(1), gdcmanon(1), rename(1)
COPYRIGHT
Copyright (c) 2006-2011 Mathieu Malaterre
Version 2.2.0 Tue Feb 5 2013 gdcmgendir(1)