11-11-2010
Can you give a sample input and output you are expecting.....
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this one::) doing jstack on JVM proccess.
#!/bin/ksh
# ----------------------------------------------------
# capture_jstack.sh <INTERVAL> <COUNT>
# run jstack and capture output to a log file
#-----------------------------------------------------
#
# scripts and logs are stored... (3 Replies)
Discussion started by: pointer
3 Replies
2. Solaris
I am trying to view the files in /etc/security/audit/SERVERNAME/files, but when I gunzip them and then do a cat I get a bunch of garbage with some stuff that makes sense. I need to view this file without having all the garbage. I tried to cat it and vi it without any luck. Can someone show me an... (4 Replies)
Discussion started by: jastanle84
4 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I am experiencing a strange and serious issue.
I can see, a file exist there inside a directory
while doing cat i can see the file exists, but while trying to view that its saying NO such File or Directory.
(ipbala01)/env/balast7/app/working/batch_loader/data/system_2/input>ll
total 12... (8 Replies)
Discussion started by: gotam
8 Replies
4. Red Hat
What is the command that can be used to open or view the .dat file in linux?
Unable to read the contents of .dat file. (7 Replies)
Discussion started by: Rupaa
7 Replies
5. Shell Programming and Scripting
Hi to all,
1- I'm trying to open a certain file in unix with the tool KEA!
2- i get to the correct folder with the CD command
3- Once in the correct directory i try the following unix command:
vi NameOfFile.Z
4- Yes those files finish with a .Z
5 - I get something in the KEA!... (3 Replies)
Discussion started by: Sanchoniathon
3 Replies
6. Shell Programming and Scripting
I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients).
I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Discussion started by: mecaka
6 Replies
7. UNIX for Dummies Questions & Answers
Hi all
The following code will update the Dynamic DNS server at Namecheap.com.
wget -O 'https://dynamicdns.park-your-domain.com/update?host=www&domain=example.com&password=your DDNS password'Would like to append the output to a log file using >> /path/path/logfile at the end of the command.
... (7 Replies)
Discussion started by: CRChamberlain
7 Replies
8. Shell Programming and Scripting
Hallo Team,
I would like to redirect an output from a file into another file. Here are the two commands/files.
-bash-3.2$ cat lack.csv
lemontwistpax
-bash-3.2$ ll -ltr BW*|tail -1
-rw-r--r-- 1 mind mind 1844 Sep 25 12:06... (8 Replies)
Discussion started by: kekanap
8 Replies
9. UNIX for Beginners Questions & Answers
hello:
how could i view the file's flags? "ls -loa" doesn't seem to do the trick:
root@giraffe:/etc # ls -alo
total 820
drwxr-xr-x 23 root wheel - 2048 Oct 23 19:48 .
drwxr-xr-x 19 root wheel - 1024 Nov 16 15:01 ..
drwxr-xr-x 2 root wheel - 512 Nov 11 2014 X11... (6 Replies)
Discussion started by: ipfreak
6 Replies
10. What is on Your Mind?
See attached video for a demo on how to move back and forth from the desktop view to the mobile view.
Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on.
Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT DEBIAN
subject
Subject(3I) InterViews Reference Manual Subject(3I)
NAME
Subject - object with views
SYNOPSIS
#include <InterViews/subject.h>
DESCRIPTION
A subject is an object that has one or more views that it wishes to notify when it changes. The SubjectIteractor class can be used if it
is necessary to iterate through the views of a subject explicitly.
Because subjects are shared, Subject is a subclass of Resource. To allow for the possibility of multiple inheritance, in which case only a
single copy of resource information should be maintained, Resource is a virtual base class.
PUBLIC OPERATIONS
enum UpdateHint {
attaching, detaching, setting, changing
}
This type enumerates possible hints when a subject is notifying a view that it has changed. The attaching hint indicates that a
view has attached to the subject. The detaching hint means that the subject is being deleted and the view should consider itself
detached. The setting hint means that the subject's value has been set, though possibly to the same value as it already has. The
changing hint means that the value is set to something different than it was previously.
virtual void attach(View*)
Add a view to the subject's list.
virtual void detach(View*)
Remove a view from the subject's list.
virtual void notify(UpdateHint = changing)
Notify all the views of a subject that it has been updated.
virtual boolean viewed_by(View*)
Return whether a given view is on the subject's list of views.
virtual void Attach(Interactor*)
This function is equivalent to attach and is provided solely for backward compatibility. It will be removed in a future version.
virtual void Detach(Interactor*)
This function is equivalent to detach and is provided solely for backward compatibility. It will be removed in a future version.
virtual void Notify()
This function is equivalent to notify(changing) and is provided solely for backward compatibility. It will be removed in a future
version.
boolean IsView(Interactor*)
This function is equivalent to viewed_by and is provided solely for backward compatibility. It will be removed in a future version.
SUBJECTITERATOR OPERATIONS
A subject iterator can be used to iterate through the views in a subject.
SubjectIterator(Subject*)
Create a subject iterator for the given subject. The iterator is only valid as long as the subject exists.
virtual void init()
Reset the iteration to start at the beginning of the list. This operation is called by the constructor.
virtual boolean more()
Return whether there are more views in the list.
virtual View* cur()
Return the current view.
virtual void remove()
Remove the current view from the list.
virtual void next()
Move the iteration to the next view in the list.
SEE ALSO
View(3I)
InterViews 29 June 1989 Subject(3I)