Sponsored Content
Full Discussion: Solaris 10 svcs failures
Operating Systems Solaris Solaris 10 svcs failures Post 302372556 by incredible on Wednesday 18th of November 2009 08:39:35 AM
Old 11-18-2009
Quote:
Originally Posted by jlliagre
It's time to migrate to ZFS ...
We are not going to do that for now. We will need to fix this.

DukeNude --> pls worry to solve this. Think you misunderstood my stmt Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

svcs command on solaris 8 and 9

Hi, Can anybody tell me what is the command to start and stop services on solaris 8. I found command svcs on solaris 10 but not on 8 or 9. Please guilde me. Thanks, Rucha (7 Replies)
Discussion started by: rucha_mahajan
7 Replies

2. Solaris

Boot problem with SMF svcs-Solaris 10 for x86

Hi All, I am newbie in solaris, please guide me. A week before i installed solaris10 on my x86 system, it was working fine i always used "init 5" to shutdown my system as per my collegue advice. But yesterday when i started my system it gave me following message ... (6 Replies)
Discussion started by: imrankhan.in
6 Replies

3. UNIX for Advanced & Expert Users

Need svcs equivalent command

Hi, I am new to HP-UX. Can someboby help me with the svcs equivalent command in HP-UX ??? svcs is command that we use in Solaris for service status. I need to get the status of services in HP-UX. Thanks in advance. (2 Replies)
Discussion started by: EmbedUX
2 Replies

4. Solaris

svcs showing online* status

Hi Experts I am getting following status # svcs wbem STATE STIME FMRI online* 18:19:29 svc:/application/management/wbem:default /var/svc/log/application-management-wbem:default.log is being flooded with following message (5 Replies)
Discussion started by: mtomar
5 Replies

5. Solaris

svcs command shows the state as disabled

Hi I need to export a directory named /sybase from my solaris machine via NFS. The svcs command shows the state as disabled. Please let me know how to export the directory. Once the directory is exported from the solaris machine it has to be mounted locally in an aix machine. Can some one... (2 Replies)
Discussion started by: newtoaixos
2 Replies

6. Solaris

PostgreSQL - Adding to SVCS list.

I'm having some troubles setting an instance of postgreSQL to automatically start upon system boot. I have two servers running this app, one is automatically starting the service, the other is not. I'm attempting to use the "svcadmin" command, however, apparently when I run a "svcs -a" search, the... (6 Replies)
Discussion started by: Nvizn
6 Replies

7. Solaris

Solaris 10 svcs failures

I have a solaris 10 machine that was working fine until the system crashed after a power failure. Now, after the system boots up, several services go into maintenance mode. offline 8:54:59 svc:/milestone/multi-user-server:default offline 8:54:59... (15 Replies)
Discussion started by: krishani3831
15 Replies

8. Shell Programming and Scripting

Check & use output of svcs command

Hello Dear Friends, I need to check output of svcs command and so the status of some instances. -bash-3.00$ svcs -a | grep rfe online Aug_04 svc:/application/rfe/rfe_master_3:default online Aug_04 svc:/application/rfe/rfe_master_4:default as you can see there are two... (1 Reply)
Discussion started by: EAGL€
1 Replies

9. Solaris

Svcs: failed to iterate over instances: server has insufficient resources

Hi community, one of my zone is having issue and while i issue svs -a, i am getting below error "svcs: failed to iterate over instances: server has insufficient resources" none on the services are working including ssh/telnet. please help me to fix this issue thanks & Regards,... (1 Reply)
Discussion started by: bentech4u
1 Replies

10. Solaris

Pkgadd failures with Solaris 11

I have some simple package installations that have worked in previous versions of Solaris just fine. I can install the packages, then install newer versions right over the top without error. In previous versions I had to specify the -G option during the installation in order for this to work. ... (0 Replies)
Discussion started by: moondog25
0 Replies
MYSQLI_STMT_NUM_ROWS(3) 						 1						   MYSQLI_STMT_NUM_ROWS(3)

mysqli_stmt::$num_rows - Return the number of rows in statements result set

       Object oriented style

SYNOPSIS
int$mysqli_stmt->num_rows () DESCRIPTION
Procedural style int mysqli_stmt_num_rows (mysqli_stmt $stmt) Returns the number of rows in the result set. The use of mysqli_stmt_num_rows(3) depends on whether or not you used mysqli_stmt_store_result(3) to buffer the entire result set in the statement handle. If you use mysqli_stmt_store_result(3), mysqli_stmt_num_rows(3) may be called immediately. PARAMETERS
o $ stmt -Procedural style only: A statement identifier returned by mysqli_stmt_init(3). RETURN VALUES
An integer representing the number of rows in result set. EXAMPLES
Example #1 Object oriented style <?php /* Open a connection */ $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s ", mysqli_connect_error()); exit(); } $query = "SELECT Name, CountryCode FROM City ORDER BY Name LIMIT 20"; if ($stmt = $mysqli->prepare($query)) { /* execute query */ $stmt->execute(); /* store result */ $stmt->store_result(); printf("Number of rows: %d. ", $stmt->num_rows); /* close statement */ $stmt->close(); } /* close connection */ $mysqli->close(); ?> Example #2 Procedural style <?php /* Open a connection */ $link = mysqli_connect("localhost", "my_user", "my_password", "world"); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s ", mysqli_connect_error()); exit(); } $query = "SELECT Name, CountryCode FROM City ORDER BY Name LIMIT 20"; if ($stmt = mysqli_prepare($link, $query)) { /* execute query */ mysqli_stmt_execute($stmt); /* store result */ mysqli_stmt_store_result($stmt); printf("Number of rows: %d. ", mysqli_stmt_num_rows($stmt)); /* close statement */ mysqli_stmt_close($stmt); } /* close connection */ mysqli_close($link); ?> The above examples will output: Number of rows: 20. SEE ALSO
mysqli_stmt_affected_rows(3), mysqli_prepare(3), mysqli_stmt_store_result(3). PHP Documentation Group MYSQLI_STMT_NUM_ROWS(3)
All times are GMT -4. The time now is 06:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy