PS Tronqué sur Solaris 9
                    
        
     
             
                    gunbol
    
        
    
                    Messages postés
            
                
     
             
            52
        
            
                                    Statut
            Membre
                    
                -
                                     
zboul -
        zboul -
        Bonjour,
J'ai un problème de ps tronqué quand je veux exécuter un ps
je lance un /usr/ucb/ps -auxww et la commande est tronquée à 80 caractères
Cependant quand je lance la commande avec le user qui a lancé le process, j'obtient bien les bons arguments non tronqués.
Ma question est la suivante: je suis à peu près convaincu qu'il faut définir des droits quelque part, mais je ne sais pas où.
Avez vous une idée ?
Merci d'avance.
Gunther
                
            
                
    
    
    
        J'ai un problème de ps tronqué quand je veux exécuter un ps
je lance un /usr/ucb/ps -auxww et la commande est tronquée à 80 caractères
Cependant quand je lance la commande avec le user qui a lancé le process, j'obtient bien les bons arguments non tronqués.
Ma question est la suivante: je suis à peu près convaincu qu'il faut définir des droits quelque part, mais je ne sais pas où.
Avez vous une idée ?
Merci d'avance.
Gunther
3 réponses
                        
                            
                    c'est dit dans la man page Solaris 10
-w
Uses a wide output format, that is, 132 columns rather than 80. If the option letter is repeated, that is, -ww, this option uses arbitrarily wide output. This information is used to decide how much of long commands to print. Note: The wide output option can be viewed only by a superuser or the user who owns the process.
                
                
    
                -w
Uses a wide output format, that is, 132 columns rather than 80. If the option letter is repeated, that is, -ww, this option uses arbitrarily wide output. This information is used to decide how much of long commands to print. Note: The wide output option can be viewed only by a superuser or the user who owns the process.
