Sponsored Content
Full Discussion: code help
Top Forums Programming code help Post 29845 by bb00y on Saturday 12th of October 2002 03:33:15 AM
Old 10-12-2002
sorry. everytime i run this code, enter an option, the menu of options always display twice before i could choose the option again. for some reason, the first time through it doesn't let me enter an option, like it totally disregard the getchar() statement. it go to the dafault case, and start over the loop, and then it let me enter an option.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Return code from PL/SQL Code

Hi Guys, I was just wondering if anybody can help me with this problem. OK, how we can get a value back from PL/SQL Script (not stored procedure/function) See the below example: (for example aaa.sh) #!/bin/ksh VALUE=`sqlplus -s user/password@test_id <<EOF @xxx.sq EOF` echo $VALUE ... (7 Replies)
Discussion started by: Shaz
7 Replies

2. Programming

how i prepare a c++ code(c code) for implementing my own protocol format

helo my protocol format is given below { destno,mode,no.of packet,pktsize,,pktno,textsize,CRC} description:- { is starting flag destno - 4bytes mode - 1 byte no.of pkt - 4byes pktsize - 6 bytes ... (1 Reply)
Discussion started by: amitpansuria
1 Replies

3. Shell Programming and Scripting

translate ksh code to csh code

hi all, Can any 1 help me translate this korn shell code to C shell code : email=$(grep "^$1" $folder/config_2.txt | awk '{print $2'}) In config_2.txt the content is : which mean in korn shell , $1=groupname and $2=email address. Now i need to write in C shell script,when i set the... (2 Replies)
Discussion started by: proghack
2 Replies

4. UNIX for Dummies Questions & Answers

If ‘922’ Code does not exist on ‘03’ Record, ‘901’ Code will be there instead, move ‘03’ R

01,011600033,011600033,110516,0834,2,90,,2/ 02,011600033,011103093,1,110317,0834,,2/ 03,105581,,015,+00000416418,,,901,+00000000148,,,922,+000000 00354,,/ 03,113806,,015,+00000559618,,,901,+00000000096,,,922,+000000 00621,,/ 88,902,+0000000025218,,/... (1 Reply)
Discussion started by: sgoud
1 Replies

5. Shell Programming and Scripting

Block of code replacement in Java source code through Unix script

Hi, I want to remove the following code from Source files (or replace the code with empty.) from all the source files in given directory. finally { if (null != hibernateSession && hibernateSession.isOpen()) { //hibernateSession.close(); } } It would be great if the script has... (2 Replies)
Discussion started by: hareeshram
2 Replies

6. Linux

Go to a line of code , skip few lines of code

Hi , I have a code where i am using a infinite while loop . some thing like below while do if then #go to line 20 fi command 1; command 2; #line 20: sleep 34; (5 Replies)
Discussion started by: Paarth
5 Replies
dxsysinfo(8)						      System Manager's Manual						      dxsysinfo(8)

NAME
dxsysinfo - Monitors system information such as CPU activity, memory, swap space, and file system usage SYNOPSIS
/usr/bin/X11/dxsysinfo [options] OPTIONS
Displays the CPU Activity meter. Shrinks the window so that only the General Information area is visible. The -dashview option is ignored when it conflicts with other options or when all of the components in the General Information area were deselected in a previous invocation of the System Information application. This option is incompatible with the -fs option. If -dashview is specified with -fs, -dashview is ignored. Displays the File System area. Displays warning lights for file systems and swap space that have exceeded the recommended threshold. Displays the In-Use Memory meter. Displays the Available Swap meter. When these options are used on the command line, only the specified parts of the application are displayed. A user preferences file is created in the user's home directory the first time the application runs. It records user-specified options and any customizations made while running the application. If any of the command line options other than the -dashview option are used, the System Information application does not read the View state settings in the user preferences file. If the -dashview option is used on the command line without any other options, the application reads the View state settings in the user preferences file, $HOME/.sysman/Dxsys- info. System Information accepts all of the standard X Toolkit command line options, which are documented in the X(1X) reference page. DESCRIPTION
Use the System Information application, dxsysinfo, to: Obtain general information about the operating system and version, amount of RAM, and number of CPUs Monitor CPU activity, in-use memory, available swap space, and file system usage Set and modify file system thresholds To start dxsysinfo from the CDE desktop: Click on the Application Manager icon on the CDE front panel. Double click on the System_Admin application group icon. Double click on the DailyAdmin application group icon. Double click on the System Information application icon. EXAMPLES
To start System Information from the command line, enter: /usr/bin/X11/dxsysinfo Online Help For additional information about the graphical user interface, see the online help volume. To open the online help volume from within Sys- tem Information, run the application and choose Overview from the Help menu in the main window. You can view the System Information online help volume without running the application. To open the System Information help volume from the command line, enter the following command: /usr/dt/bin/dthelpview -helpVolume /usr/dt/appconfig/help/C/Dxsysinfo.sdl FILES
Contains user preferences that control the appearance of the application, file system information, and device information Contains the Sys- tem Information executable Contains the System Information help volume Contains the default values for the application's X resources SEE ALSO
Commands: df(1), ps(1), showmount(8), swapon(8), sysman_intro(8), uname(1), vmstat(1), X(1X) dxsysinfo(8)
All times are GMT -4. The time now is 09:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy