Sponsored Content
Top Forums Shell Programming and Scripting how to delete files at booting of system (system startup) Post 302474936 by gc_sw on Friday 26th of November 2010 04:08:03 AM
Old 11-26-2010
please give some inputs and desired output.
This User Gave Thanks to gc_sw For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What are core files and how can I delete them when am performing system maintenance??

Help me How can I go about doing this. also, if you have any idea of other files I can delete and what I can do to improve the performance of a system thats running too slow (6 Replies)
Discussion started by: IMPORTANT
6 Replies

2. UNIX for Dummies Questions & Answers

How can I add my own service when system startup?

Hi All, My OS is redhat 7.1. How can I start my own service (e.g. simple scripts) when the system is started? I found something like /etc/rc.d, /etc/rc.init ... But I have no idea on them, have anyone can help me? regards wilson (6 Replies)
Discussion started by: wilsonchan1000
6 Replies

3. UNIX for Dummies Questions & Answers

System Startup Time

Hi all, Can anyone tell me how to find the System Startup time. Currently I am using "who -b" to get last reboot time. I wanted to know is there any log file for SCO Openserver 5, in which all this sort of imformations are kept. I have tried searching the forum with words like "WHO... (6 Replies)
Discussion started by: shoeb_syed
6 Replies

4. Solaris

What's wrong with my system? Solaris not booting.

Booting the 32-bit OS ... SunOS Release 5.7 Version Generic_106541-31 Copyright (c) 1983-2002, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: wz-ultra1 metainit: wz-ultra1: there are no existing databases The system is coming up. Please wait. checking ufs... (2 Replies)
Discussion started by: CollenM
2 Replies

5. SuSE

Executing set of sh files at system startup

Hi Everybody I am totally new to Linux. We are using Suse Linux version 9. Currently we have 4 to 5 shell scripts which needs to be executed manually by the users.I want these scripts to be run automatically when system starts...something like system startup service. When system is... (1 Reply)
Discussion started by: appleforme1415
1 Replies

6. Shell Programming and Scripting

Script to Delete temp files and check file system

Hi all, new to the threads as well as Unix/Linux. I need to create a script that will delete any temporary files as well as check the files on the system for errors or corruption. This is what I have so far and I'm sure that I'm missing things or have the wrong commands. I'm not sure where to go... (3 Replies)
Discussion started by: Bwood1377
3 Replies

7. AIX

System is not booting

the error is 0518 /usr mnt failed, pleaze tell me how i can fix it ! (1 Reply)
Discussion started by: majd_ece
1 Replies

8. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

9. Red Hat

Red Hat system not booting up

Hello, I had a linux server running mysql db without any issues, it just panic'd and now its not coming up , unfortunately we do not have backup for this server as well can anybody help on this. Following is the error Memory for crash kernel (0x0 to 0x0 ) notwithin permissible range Red... (2 Replies)
Discussion started by: fugitive
2 Replies

10. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
GENPAT(1)						      ALLIANCE USER COMMANDS							 GENPAT(1)

NAME
genpat, A procedural pattern file generator SYNOPSIS
genpat [-v] [-k] [file] ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr DESCRIPTION
Genpat is a set of C fonctions that allows a procedural description of input pattern file for the logic simulator ASIMUT. The Unix genpat command accepts a C file as input and produces a pattern description file as output. The extension ".c" is not to be given. The file gener- ated by genpat is in pat format, so IT IS STRONGLY RECOMMENDED TO SEE pat(5) BEFORE THIS MANUAL. OPTIONS
-v verbose mode -k keeps the executable along with the compilation Makefile after completion GENPAT FILE FORMAT
From a user point of view, genpat is a pattern description language using all standard C facilities (include, define, variables, loop, ...). Fonctions provided by genpat are to be used in a given order. Using them in a different order won't crash the system, but will result in execution errors. Here follows the description of the input file. A pat format file can be divided in two parts : declaration and description part. The declaration part is the list of inputs, outputs, internal signals and registers. Inputs are to be forced to a certain value and all the others are to be observed during simulation. The description part is a set of patterns, where each pattern defines the value of inputs and outputs. The pattern number represents actu- ally the absolute time for the simulator. Similarly, a genpat file can be divided in two parts : declaration and description part. Functions related to the declaration must be called before any function related to the description part. declaration part The first thing you should do in this part is to give the output file's name (see DEF_GENPAT(3)). Then, this part allows you to declare the inputs, the outputs, and internal observing points (see DECLAR(3)). It is also possible to create virtual arraies (see ARRAY(3)). description part After all signals are declared, you can begin to define input values which are to be applied to the inputs of the circuit or out- put values which are to be compare with the values produced during the simulation. (see AFFECT(3)). Genpat describes the stimu- lus by event : only signal transitions are described. This part also allows you to give instructions to the simulation tool to save the state of the circuit at the end of the simulation. (see SAVE(3)). Last thing you should do in this part is to generate the output file (see SAV_GENPAT(3)). FUNCTIONS
DEF_GENPAT() defines the output file's name. SAV_GENPAT() make the output file be generated DECLAR() declares inputs, outputs, and the internal observing points. ARRAY() allows signals of the same type to be groupped in an "virtual array" in order to ease their manipulation INIT() changes the values of registers between two patterns. AFFECT() assigns a value to a signal, at a given pattern number. This value is kept on the signal until a new value is assigned to the signal. SAVE() informs the simulation tool to save the state of the circuit at the end of simulation LABEL() gives a label to the current pattern GETCPAT() return the number of the current pattern EXAMPLES
#include <stdio.h> #include "genpat.h" char *inttostr(entier) int entier; { char *str; str = (char *) mbkalloc (32 * sizeof (char)); sprintf (str, "%d",entier); return(str); } /*------------------------------*/ /* end of the description */ /*------------------------------*/ main () { int i; int j; int cur_vect = 0; DEF_GENPAT("example"); /* interface */ DECLAR ("a", ":2", "X", IN, "3 downto 0", "" ); DECLAR ("b", ":2", "X", IN, "3 downto 0", "" ); DECLAR ("s", ":2", "X", OUT, "3 downto 0", "" ); DECLAR ("vdd", ":2", "B", IN, "", "" ); DECLAR ("vss", ":2", "B", IN, "", "" ); LABEL ("adder"); AFFECT ("0", "vdd", "0b1"); AFFECT ("0", "vss", "0b0"); for (i=0; i<16; i++) { for (j=0; j<16; j++) { AFFECT (inttostr(cur_vect), "a", inttostr(i) ); AFFECT (inttostr(cur_vect), "b", inttostr(j) ); cur_vect++; } } SAV_GENPAT (); } ENVIRONMENT VARIABLES
Genpat reads the environment variable VH_PATSFX to give the result file an extension. SEE ALSO
AFFECT(3), ARRAY(3), DECLAR(3), DEF_GENPAT(3), GETCPAT(3), INIT(3), LABEL(3), SAVE(3), SAV_GENPAT(3), pat(5), asimut(1) BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 GENPAT(1)
All times are GMT -4. The time now is 01:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy