Script to make a new workspace and start jobs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Script to make a new workspace and start jobs
# 1  
Old 03-09-2004
Question Script to make a new workspace and start jobs

Hi
Does any have a script that can make a new workspace and name it and then start a named terminal window and then do a command in that window?
E.g.:
Make a new window called top (to see the processes) start an xterm window called top and then do an rlogin to a host and run top to see the processes that are running on the host.
Best regards,
Lars
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to run multiple jobs and it's dependent jobs

I have multiple jobs and each job dependent on other job. Each Job generates a log and If job completed successfully log file end's with JOB ENDED SUCCESSFULLY message and if it failed then it will end with JOB ENDED with FAILURE. I need an help how to start. Attaching the JOB dependency... (3 Replies)
Discussion started by: santoshkumarkal
3 Replies

2. Shell Programming and Scripting

How do i make input start with a letter?

Howdy folks, How do i make the input start with a letter and certain num of numbers and if anything else is entered it should display error for ex; a123455 is good ( exactly 7 characters) and ex: sio234234 is not good ex: b233 is not good.. ex: jlasjdlfks is not good ... (2 Replies)
Discussion started by: coolkid
2 Replies

3. Solaris

How to make SMF service start last?

I need to start a service among the last on a freshly booted system. Via the manifest, I've made it dependent on very milestone on the computer yet the service still comes back with an error that a kstat variable in the kernel does not exist. I run it right the service process right there... (6 Replies)
Discussion started by: JWH
6 Replies

4. Linux

How to open a gnome-terminal in specific workspace and run script within it automatically upon login

OK this is a bit messy. I run Fedora with gnome on a compiz desktop, I have a script (userstart) that opens my 'standard' environment for all my machines when I login. userstart flips to a specific workspace and then opens the required applications in that workspace then flips to the next... (2 Replies)
Discussion started by: Bashingaway
2 Replies

5. UNIX for Dummies Questions & Answers

How to start jobs manually from Crontab

Hello - I have about 7 jobs listed in my crontab. They run automatically everyday. However I am wondering how to start them manually? My system is SunOS 5.10 Jobs are listed in this fashion: 41 00 * * 1-5 /system/volms/.vbc/startmeup 01 44 * * 0-6 /system/volms/.vbc/kill (space)... (7 Replies)
Discussion started by: DallasT
7 Replies

6. HP-UX

how can i make two dependent jobs into cron?

Hi all, How can i make two dependent jobs into crontab? means after the first job the second job should run in a single crontab entry in unix. (1 Reply)
Discussion started by: megh
1 Replies

7. UNIX for Dummies Questions & Answers

How to make alias for start of next sessiones

Good morning Dear Friends Please tell me how can be don't alias which is not Temporary.I mean in next log it to be there specially for AIX and HP UNIX.Thanks in advance. (0 Replies)
Discussion started by: papa1980
0 Replies

8. Solaris

How to start/stop cron jobs on live server

Hi, I am working with a company where some times i need to start/stop cron jobs on need basis. I have one option to kill cron daemon.Is it right? Please correct me. Waiting for your reply. Thanks in advance.. (2 Replies)
Discussion started by: varaprasadu
2 Replies
Login or Register to Ask a Question
DtWsmGetWorkspaceInfo(library call)									       DtWsmGetWorkspaceInfo(library call)

NAME
DtWsmGetWorkspaceInfo -- get detailed workspace information SYNOPSIS
#include <Dt/Wsm.h> int DtWsmGetWorkspaceInfo( Display *display, Window root, Atom aWorkspace, DtWsmWorkspaceInfo **ppWsInfo); DESCRIPTION
The DtWsmGetWorkspaceInfo function works with the CDE workspace manager, dtwm(1), and returns detailed information on a specific workspace. The display argument is the X display. The root argument is the root window of the screen of interest. The aWorkspace argument is the workspace name (converted to an X atom). The *ppWsInfo argument is the address of a variable to receive the returned pointer to the workspace information data. The DtWsmWorkspaceInfo structure contains at least the following members: Atom workspace The workspace name (con- verted to an X atom). unsigned long bg The pixel ID used for the background color of the backdrop. unsigned long fg The pixel ID used for the foreground color of the backdrop. Atom backdropName The backdrop file name (converted to an X atom). The file must be in either X Bitmap file format (with extension .bm) or X Pixmap file format (with extension .pm). The workspace man- agement services look for the file along the same path used for searching icons. The directory /usr/dt/backdrops is the default directory if the file cannot be found along the icon search path. int colorSetId The colorset number used for this workspace, which affects the backdrop color and the button color for this workspace on the front panel. char *pchTitle The title displayed in the button for this workspace on the front panel. This string is interpreted in the locale in which the CDE workspace manager, dtwm(1), is running. The title is different from the workspace name. The workspace name, when con- verted from an X atom, is used as the identifier for a workspace in the workspace manager function calls. The CDE workspace manager, dtwm(1). also uses the workspace name as a resource name; thus, the characters used in a workspace name are restricted to the charac- ters in the X Portable Character Set. The workspace name for a workspace created from the front panel is generated automatically by the CDE workspace manager, dtwm(1). Window *backdropWindows A pointer to an array of windows that make up the backdrop. int numBackdropWindows The number of elements in the backdropWindows array. RETURN VALUE
Upon successful completion, the DtWsmGetWorkspaceInfo function returns Success and the workspace manager returns in *ppWsInfo a pointer to a DtWsmInfo structure that contains information about the workspace aWorkspace; otherwise, it returns a value not equal to Success. APPLICATION USAGE
If the DtWsmGetWorkspaceInfo function is not successful, failure may be due to a memory allocation error or failure to find the correct workspace information (that is, the CDE workspace manager, dtwm(1), is not running). The application must use the DtWsmFreeWorkspaceInfo(3) function to free the data returned in *ppWsInfo. The *backdropWindows pointer may be useful for applications that are interested in some events on the root window. Since the backdrop covers the root window, the backdrop catches the button events before they reach the root. SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetWorkspaceList(3), DtWsmFreeWorkspaceInfo(3). DtWsmGetWorkspaceInfo(library call)