03-25-2011
Quote:
Originally Posted by
wisdom
Your question was answered.
I'm afraid it wasn't. Can you please post what returns the "tty" command in addition to what "w" returns.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. HP-UX
Hi,
I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone.
And its not dumping core if we run the script using "/bin/sh" instead of "ksh"
Can some body please help me how to resolve this issue.
... (9 Replies)
Discussion started by: simhe02
9 Replies
3. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 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. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
6. Solaris
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. 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
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT CENTOS
fftw-wisdom-to-conf
FFTW-WISDOM-TO-CONF(1) fftw FFTW-WISDOM-TO-CONF(1)
NAME
fftw-wisdom-to-conf - generate FFTW wisdom (pre-planned transforms)
SYNOPSIS
fftw-wisdom-to-conf [< INPUT] [> OUTPUT]
DESCRIPTION
fftw-wisdom-to-conf is a utility to generate C configuration routines from FFTW wisdom files, where the latter contain saved information
about how to optimally compute (Fourier) transforms of various sizes. A configuration routine is a C subroutine that you link into your
program, replacing a routine of the same name in the FFTW library, that determines which parts of FFTW are callable by your program.
The reason to do this is that, if you only need transforms of a limited set of sizes and types, and if you are statically linking your pro-
gram, then using a configuration file generated from wisdom for those types can substantially reduce the size of your executable. (Other-
wise, because of FFTW's dynamic nature, all of FFTW's transform code must be linked into any program using FFTW.)
FFTW is a free library to compute discrete Fourier transforms in one or more dimensions, for arbitrary sizes, and of both real and complex
data, among other related operations. More information on FFTW can be found at the FFTW home page: http://www.fftw.org
fftw-wisdom-to-conf reads wisdom from standard input and writes the configuration to standard output. It can easily be combined with the
fftw-wisdom tool, for example:
fftw-wisdom -n cof1024 cob1024 -o wisdom
fftw-wisdom-to-conf < wisdom > conf.c
will create a configuration "conf.c" containing only those parts of FFTW needed for the optimized complex forwards and backwards out-of-
place transforms of size 1024 (also saving the wisdom itself in "wisdom").
Alternatively, you can run your actual program, export wisdom for all plans that were created (ideally in FFTW_PATIENT or FFTW_EXHAUSTIVE
mode), use this as input for fftw-wisdom-to-conf, and then re-link your program with the resulting configuration routine.
Note that the configuration routine does not contain the wisdom, only the routines necessary to implement the wisdom, so your program
should also import the wisdom in order to benefit from the pre-optimized plans.
OPTIONS
-h, --help
Display help on the command-line options and usage.
-V, --version
Print the version number and copyright information.
BUGS
Send bug reports to fftw@fftw.org.
AUTHORS
Written by Steven G. Johnson and Matteo Frigo.
Copyright (c) 2003, 2007-11 Matteo Frigo
Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
SEE ALSO
fftw-wisdom(1)
fftw February, 2003 FFTW-WISDOM-TO-CONF(1)