Sponsored Content
Operating Systems Linux Red Hat Difference between 'init s' and 'init 1' Post 302390311 by fpmurphy on Wednesday 27th of January 2010 01:59:39 PM
Old 01-27-2010
The RH300 training material covers it in detail.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies

2. Solaris

different between /sbin/init and /usr/sbin/init

root@test09 # ls -al /sbin/init -r-xr-xr-x 1 root sys 550000 Jun 29 2002 /sbin/init root@test09 # ls -al /usr/sbin/init -r-xr-xr-x 1 root sys 37100 Jun 29 2002 /usr/sbin/init (2 Replies)
Discussion started by: userking
2 Replies

3. Solaris

difference between init and shutdown

Hi, Am new to solaris.Can anyone explains me the difference between using init and shutdown command. As per my knowledge shutdown will give notification to users, is there anything apart from that. thanks in advance. (6 Replies)
Discussion started by: rogerben
6 Replies

4. Linux

How to I change init levels after typing init 1

Dear all, I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel): 1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies

5. Solaris

Difference between run level & init level

what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies

6. Red Hat

The difference between init.d and xinit.d dir ...

What's the difference between the two. I've seen xinit.d directory not always but on some systems. (1 Reply)
Discussion started by: Praveen_218
1 Replies

7. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

8. Solaris

What is the diffe b/w init s and init S

i did my research in finding the answer but couldn't find right one. Please give your inputs. (6 Replies)
Discussion started by: ranumala
6 Replies

9. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

10. Red Hat

Difference b/w init s and init1 in red hat linux?

Hi, Guys can any one explain me the difference between init s and init 1 in linux? this would be very useful.... thanx in advance.. regards Amandeep (3 Replies)
Discussion started by: aman.singh2886
3 Replies
FANN_CREATE_TRAIN_FROM_CALLBACK(3)					 1					FANN_CREATE_TRAIN_FROM_CALLBACK(3)

fann_create_train_from_callback - Creates the training data struct from a user supplied function

SYNOPSIS
resource fann_create_train_from_callback (int $num_data, int $num_input, int $num_output, collable $user_function) DESCRIPTION
Creates the training data struct from a user supplied function. As the training data are numerable (data 1, data 2...), the user must write a function that receives the number of the training data set (input, output) and returns the set. PARAMETERS
o $num_data - The number of training data o $num_input - The number of inputs per training data o $num_output - The number of ouputs per training data o $user_function - The user supplied function with following parameters: o num - The number of the training data set o num_input - The number of inputs per training data o num - The number of ouputs per training dataThe number of inputs per training data The function should return an associative array with keys input and output and two array values of input and output. RETURN VALUES
Returns a train data resource on success, or FALSE on error. EXAMPLES
Example #1 fann_create_train_from_callback example <?php function create_train_callback($num_data, $num_input, $num_output) { return array( "input" => array_fill(0, $num_input, 1), "output" => array_fill(0, $num_output, 1), ); } $num_data = 3; $num_input = 2; $num_output = 1; $train_data = fann_create_train_from_callback($num_data, $num_input, $num_output, "create_train_callback"); if ($train_data) { // Do something with $train_data } ?> SEE ALSO
fann_read_train_from_file(3), fann_train_on_data(3), fann_destroy_train(3), fann_save_train(3). PHP Documentation Group FANN_CREATE_TRAIN_FROM_CALLBACK(3)
All times are GMT -4. The time now is 06:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy