Sponsored Content
Top Forums UNIX for Advanced & Expert Users script with a sequence of nohups Post 302340705 by amen_corner on Tuesday 4th of August 2009 08:24:04 AM
Old 08-04-2009
not there yet

I tried

nohup math < chain1.m ; sleep 5 && nohup math < chain2.m &

and did not do what I wanted. The question is math < chain 1. m takes more than 5 secs. So I guess I would have to calculate how long it is going to take and use this value in sleep.

What I need is something that works even if the time it takes to finish the first process in not known.

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script in boot sequence

Hi , I have some problems with my library when the sytem boot : When HPUX is booting, HPUX and STAPE claim the drive initially. HPUX assigns an instance number. The instance number is tied to the hardware path. Near the end of the boot, the ATDD driver claims the drive from STAPE based... (1 Reply)
Discussion started by: delphine
1 Replies

2. Shell Programming and Scripting

script to ensure lines are in sequence

Hello there, I check files containing more than 2000 lines, I try to make sure that the lines are in sequence...for example the first line begins with Av567, second line contains Av568 and so on up to the last line that may contain Av2500. I need a script to check that all lines are in sequence... (5 Replies)
Discussion started by: docaia
5 Replies

3. Shell Programming and Scripting

help - script can check jump sequence?

Hi, if I have a lot of files like (AABBCC0010, AABBCC0011, AABBCC0012....AABBCC1000), can I write a small script to check any sequence number jump and show me the result which sequence number? #The first sequence may start from 0010 or 0101... :confused: Thank you!! (10 Replies)
Discussion started by: happyv
10 Replies

4. Shell Programming and Scripting

Unix script for Checking sequence

Hello, I need Unix script for Checking sequence and get output in a file for missing sequences information. We are moving archive log to a server for DR .if any files miss from sequence DR will fails. so we need script to monitor sequence of files which are FTP from the Production servers .... (2 Replies)
Discussion started by: Rata_raj
2 Replies

5. Shell Programming and Scripting

script to touch a sequence of files

Hi, My requirement is i need to touch a sequence of files like touch a touch b touch c now i need the script in a way that checks if all files are touched or not. if any file say b is not touched then i should get this notification. Please suggest as i am new to unix (2 Replies)
Discussion started by: sussane
2 Replies

6. Shell Programming and Scripting

Script to check file sequence

Hi everyone, I need help in creating a script that would check if the file sequence is in order in a particular directory. These are log files that are generated throughout the day. Example of the file name will be, ABC01_YYMMDDHHMM###### (ABC01_0904161829000001) Sometimes the file... (4 Replies)
Discussion started by: kumaran21
4 Replies

7. UNIX for Dummies Questions & Answers

bash script to parse sequence...

Hi, I have 4000 list files and 4000 sequence data files. Each list file contains a number of 'headers' and data file contains 'header and data'. I would like to extract data from the data file using the list file and write into a new file. As each of the files are quite large, an efficient piece... (6 Replies)
Discussion started by: Fahmida
6 Replies

8. Shell Programming and Scripting

find common entries and match the number with long sequence and cut that sequence in output

Hi all, I have a file like this ID 3BP5L_HUMAN Reviewed; 393 AA. AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3; DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot. DT 05-JUL-2004, sequence version 1. DT 05-SEP-2012, entry version 71. FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies

9. Shell Programming and Scripting

Script to generate sequence of numbers

I need awk script to generate part number sequencing based on data in multiple columns like below Input File --------- Col A|Col B|Col C| 1|a|x| 2|b|y| |c|z| | |m| | |n| And out put should be like 1ax 1ay 1az 1am 1an 1bx 1by (6 Replies)
Discussion started by: aramacha
6 Replies

10. Shell Programming and Scripting

Will shell script executes in sequence

I have a shell script scheduled in cron job to run at every 1 minute which transfers files to remote machine and then move the files to backup folder. cd /u01/app/ftp_tmp sftp user@hostname <<-EOF cd /home/user/ftp mput * bye EOF mv /u01/app/ftp_tmp/* /u01/app/ftp_bkp Now the problem is... (6 Replies)
Discussion started by: Bhavi
6 Replies
Gtk2::Notebook(3)					User Contributed Perl Documentation					 Gtk2::Notebook(3)

NAME
Gtk2::Notebook HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Notebook INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::Notebook->new integer = $notebook->append_page ($child, $tab_label=undef) o $child (Gtk2::Widget) o $tab_label (scalar) (integer return since Gtk2-Perl 1.080) integer = $notebook->append_page_menu ($child, $tab_label, $menu_label) o $child (Gtk2::Widget) o $tab_label (Gtk2::Widget or undef) o $menu_label (Gtk2::Widget or undef) (integer return since Gtk2-Perl 1.080) integer = $notebook->get_current_page $notebook->set_current_page ($page_num) o $page_num (integer) integer = $notebook->get_group_id Since: gtk+ 2.10 $notebook->set_group_id ($group_id) o $group_id (integer) Since: gtk+ 2.10 integer = $notebook->insert_page ($child, $tab_label, $position) o $child (Gtk2::Widget) o $tab_label (scalar) o $position (integer) (integer return since Gtk2-Perl 1.080) integer = $notebook->insert_page_menu ($child, $tab_label, $menu_label, $position) o $child (Gtk2::Widget) o $tab_label (Gtk2::Widget or undef) o $menu_label (Gtk2::Widget or undef) o $position (integer) (integer return since Gtk2-Perl 1.080) widget or undef = $notebook->get_menu_label ($child) o $child (Gtk2::Widget) $notebook->set_menu_label ($child, $menu_label=undef) o $child (Gtk2::Widget) o $menu_label (Gtk2::Widget or undef) string = $notebook->get_menu_label_text ($child) o $child (Gtk2::Widget) $notebook->set_menu_label_text ($child, $menu_text) o $child (Gtk2::Widget) o $menu_text (string) integer = $notebook->get_n_pages $notebook->next_page widget or undef = $notebook->get_nth_page ($page_num) o $page_num (integer) integer = $notebook->page_num ($child) o $child (Gtk2::Widget) $notebook->popup_disable $notebook->popup_enable integer = $notebook->prepend_page ($child, $tab_label=undef) o $child (Gtk2::Widget) o $tab_label (scalar) (integer return since Gtk2-Perl 1.080) integer = $notebook->prepend_page_menu ($child, $tab_label, $menu_label) o $child (Gtk2::Widget) o $tab_label (Gtk2::Widget or undef) o $menu_label (Gtk2::Widget or undef) (integer return since Gtk2-Perl 1.080) $notebook->prev_page list = $notebook->query_tab_label_packing ($child) o $child (Gtk2::Widget) $notebook->remove_page ($page_num) o $page_num (integer) $notebook->reorder_child ($child, $position) o $child (Gtk2::Widget) o $position (integer) boolean = $notebook->get_scrollable $notebook->set_scrollable ($scrollable) o $scrollable (boolean) boolean = $notebook->get_show_border $notebook->set_show_border ($show_border) o $show_border (boolean) boolean = $notebook->get_show_tabs $notebook->set_show_tabs ($show_tabs) o $show_tabs (boolean) $notebook->set_tab_border ($border_width) o $border_width (integer) boolean = $notebook->get_tab_detachable ($child) o $child (Gtk2::Widget) Since: gtk+ 2.10 $notebook->set_tab_detachable ($child, $detachable) o $child (Gtk2::Widget) o $detachable (boolean) Since: gtk+ 2.10 $notebook->set_tab_hborder ($tab_hborder) o $tab_hborder (integer) widget = $notebook->get_tab_label ($child) o $child (Gtk2::Widget) $notebook->set_tab_label_packing ($child, $expand, $fill, $pack_type) o $child (Gtk2::Widget) o $expand (boolean) o $fill (boolean) o $pack_type (Gtk2::PackType) $notebook->set_tab_label ($child, $tab_label=undef) o $child (Gtk2::Widget) o $tab_label (Gtk2::Widget or undef) string = $notebook->get_tab_label_text ($child) o $child (Gtk2::Widget) $notebook->set_tab_label_text ($child, $tab_text) o $child (Gtk2::Widget) o $tab_text (string) positiontype = $notebook->get_tab_pos $notebook->set_tab_pos ($pos) o $pos (Gtk2::PositionType) boolean = $notebook->get_tab_reorderable ($child) o $child (Gtk2::Widget) Since: gtk+ 2.10 $notebook->set_tab_reorderable ($child, $reorderable) o $child (Gtk2::Widget) o $reorderable (boolean) Since: gtk+ 2.10 $notebook->set_tab_vborder ($tab_vborder) o $tab_vborder (integer) Gtk2::Notebook->set_window_creation_hook ($func, $data=undef) o $func (scalar) o $data (scalar) Since: gtk+ 2.10 PROPERTIES
'enable-popup' (boolean : readable / writable / private) If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page 'group' (gpointer : readable / writable / private) Group for tabs drag and drop 'group-id' (integer : readable / writable / private) Group ID for tabs drag and drop 'homogeneous' (boolean : readable / writable / private) Whether tabs should have homogeneous sizes 'page' (integer : readable / writable / private) The index of the current page 'scrollable' (boolean : readable / writable / private) If TRUE, scroll arrows are added if there are too many tabs to fit 'show-border' (boolean : readable / writable / private) Whether the border should be shown or not 'show-tabs' (boolean : readable / writable / private) Whether tabs should be shown or not 'tab-border' (Glib::UInt : writable / private) Width of the border around the tab labels 'tab-hborder' (Glib::UInt : readable / writable / private) Width of the horizontal border of tab labels 'tab-pos' (Gtk2::PositionType : readable / writable / private) Which side of the notebook holds the tabs 'tab-vborder' (Glib::UInt : readable / writable / private) Width of the vertical border of tab labels SIGNALS
switch-page (Gtk2::Notebook, gpointer, Glib::UInt) boolean = focus-tab (Gtk2::Notebook, Gtk2::NotebookTab) boolean = select-page (Gtk2::Notebook, boolean) boolean = change-current-page (Gtk2::Notebook, integer) move-focus-out (Gtk2::Notebook, Gtk2::DirectionType) boolean = reorder-tab (Gtk2::Notebook, Gtk2::DirectionType, boolean) page-reordered (Gtk2::Notebook, Gtk2::Widget, Glib::UInt) page-removed (Gtk2::Notebook, Gtk2::Widget, Glib::UInt) page-added (Gtk2::Notebook, Gtk2::Widget, Glib::UInt) Gtk2::Notebook = create-window (Gtk2::Notebook, Gtk2::Widget, integer, integer) ENUMS AND FLAGS
enum Gtk2::DirectionType o 'tab-forward' / 'GTK_DIR_TAB_FORWARD' o 'tab-backward' / 'GTK_DIR_TAB_BACKWARD' o 'up' / 'GTK_DIR_UP' o 'down' / 'GTK_DIR_DOWN' o 'left' / 'GTK_DIR_LEFT' o 'right' / 'GTK_DIR_RIGHT' enum Gtk2::NotebookTab o 'first' / 'GTK_NOTEBOOK_TAB_FIRST' o 'last' / 'GTK_NOTEBOOK_TAB_LAST' enum Gtk2::PackType o 'start' / 'GTK_PACK_START' o 'end' / 'GTK_PACK_END' enum Gtk2::PositionType o 'left' / 'GTK_POS_LEFT' o 'right' / 'GTK_POS_RIGHT' o 'top' / 'GTK_POS_TOP' o 'bottom' / 'GTK_POS_BOTTOM' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::Notebook(3)

Featured Tech Videos

All times are GMT -4. The time now is 08:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy