IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Contribuez Discussion :

Création d'une FAQ Solaris!


Sujet :

Contribuez

  1. #1
    Expert confirmé
    Avatar de Katyucha
    Femme Profil pro
    DevUxSecScrumOps Full Stack Bullshit
    Inscrit en
    Mars 2004
    Messages
    3 287
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Irlande

    Informations professionnelles :
    Activité : DevUxSecScrumOps Full Stack Bullshit

    Informations forums :
    Inscription : Mars 2004
    Messages : 3 287
    Points : 5 075
    Points
    5 075
    Par défaut Création d'une FAQ Solaris!
    Bonjour,

    Vu l'interet porté par plusieurs d'entre vous sur Solaris 10, je vous propose la création d'une FAQ sur cet OS.

    Qui peut y participer ? Bah tout le monde évidemment !

    Comment ?
    Poster en dessous votre Q/Rs comme ci dessous :



    Question : Comment atteindre l'OBP ?

    Réponse :
    L'OBP n'est disponible que sur les ordinateurs à technologie SPARC (les non-PCs)
    Il existe plusieurs façon d'atteindre l'OBP
    Soit en faisant simplement : halt en root
    Soit sur un clavier solaris via la touche STOP A
    Soit sur une console vt, avec la combinaison : CTRL+SHIFT+B


    A vos claviers
    Grave urgent !!!

  2. #2
    Membre actif Avatar de ixterm
    Inscrit en
    Mars 2005
    Messages
    283
    Détails du profil
    Informations forums :
    Inscription : Mars 2005
    Messages : 283
    Points : 202
    Points
    202
    Par défaut
    Question : comment monter ses partitions FAT?

    Réponse : faire d'abord :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    prtvtoc /dev/dsk/c0d0p0
    (si vous n'avez qu'un seul disque)

    le résultat vous donne le numéro des partitions montables ou non

    ensuite :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    mount -Fpcfs /dev/dsk/c0d0p0:1  /mnt/point_de_montage
    (le "1" étant l'une des partitions FAT dont vous disposez)

  3. #3
    Rédacteur

    Avatar de millie
    Profil pro
    Inscrit en
    Juin 2006
    Messages
    7 015
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2006
    Messages : 7 015
    Points : 9 818
    Points
    9 818
    Par défaut
    Question : Comment tracer les appels systèmes d'un programme

    Réponse : Utilisez la commande truss

    Il est possible d'utiliser l'option -u pour ajouter des bibliothèques contenant des fonctions supplémentaires à tracer.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
     
    [millie@localhost:~/dvp]# uname -a
    SunOS localhost 5.9 Generic_118558-08 sun4u sparc SUNW,Ultra-4
    [millie@localhost:~/dvp]# truss date
    execve("/usr/bin/date", 0xFFBFF85C, 0xFFBFF864)  argc = 1
    resolvepath("/usr/bin/date", "/usr/bin/date", 1023) = 13
    resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
    stat("/usr/bin/date", 0xFFBFF630)               = 0
    open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
    stat("/opt/lib/libc.so.1", 0xFFBFF138)   Err#2 ENOENT
    stat("/opt/X11R6/lib/libc.so.1", 0xFFBFF138)    Err#2 ENOENT
    stat("/net/solaris/lib/libc.so.1", 0xFFBFF138) Err#2 ENOENT
    stat("/usr/openwin/lib/libc.so.1", 0xFFBFF138)  Err#2 ENOENT
    stat("/opt/X11R5/lib/libc.so.1", 0xFFBFF138)    Err#2 ENOENT
    stat("/opt/X11R6/lib/libc.so.1", 0xFFBFF138)    Err#2 ENOENT
    stat("/opt/local/lib/libc.so.1", 0xFFBFF138)    Err#2 ENOENT
    stat("/usr/lib/libc.so.1", 0xFFBFF138)          = 0
    resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18
    open("/usr/lib/libc.so.1", O_RDONLY)            = 3
    mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
    mmap(0x00010000, 802816, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF280000
    mmap(0xFF280000, 701788, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF280000
    mmap(0xFF33C000, 24664, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF33C000
    munmap(0xFF32C000, 65536)                       = 0
    memcntl(0xFF280000, 117372, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    close(3)                                        = 0
    stat("/opt/lib/libdl.so.1", 0xFFBFF138)  Err#2 ENOENT
    stat("/opt/X11R6/lib/libdl.so.1", 0xFFBFF138)   Err#2 ENOENT
    stat("/net/solaris/lib/libdl.so.1", 0xFFBFF138) Err#2 ENOENT
    stat("/usr/openwin/lib/libdl.so.1", 0xFFBFF138) Err#2 ENOENT
    stat("/opt/X11R5/lib/libdl.so.1", 0xFFBFF138)   Err#2 ENOENT
    stat("/opt/X11R6/lib/libdl.so.1", 0xFFBFF138)   Err#2 ENOENT
    stat("/opt/local/lib/libdl.so.1", 0xFFBFF138)   Err#2 ENOENT
    stat("/usr/lib/libdl.so.1", 0xFFBFF138)         = 0
    resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19
    open("/usr/lib/libdl.so.1", O_RDONLY)           = 3
    mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
    mmap(0x00002000, 8192, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3FA000
    mmap(0xFF3FA000, 1894, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3FA000
    close(3)                                        = 0
    stat("/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1", 0xFFBFEF28) = 0
    resolvepath("/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1", "/usr/platform/sun4u/lib/libc_psr.so.1", 1023) = 37
    open("/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1", O_RDONLY) = 3
    mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
    mmap(0x00002000, 16384, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3E6000
    mmap(0xFF3E6000, 13544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3E6000
    close(3)                                        = 0
    mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF390000
    munmap(0xFF3A0000, 8192)                        = 0
    getustack(0xFFBFF46C)
    getrlimit(RLIMIT_STACK, 0xFFBFF464)             = 0
    getcontext(0xFFBFF2A0)
    setustack(0xFF343A5C)
    brk(0x00022508)                                 = 0
    brk(0x00024508)                                 = 0
    time()                                          = 1196500531
    brk(0x00024508)                                 = 0
    brk(0x00026508)                                 = 0
    brk(0x00026508)                                 = 0
    brk(0x00028508)                                 = 0
    open("/usr/share/lib/zoneinfo/MET", O_RDONLY)   = 3
    fstat64(3, 0xFFBFF608)                          = 0
    read(3, " T Z i f\0\0\0\0\0\0\0\0".., 755)      = 755
    close(3)                                        = 0
    ioctl(1, TCGETA, 0xFFBFF59C)                    = 0
    fstat64(1, 0xFFBFF4B8)                          = 0
    Sat Dec  1 10:15:31 MET 2007
    write(1, " S a t   D e c     1   1".., 29)      = 29
    _exit(0)
    Sous linux, il est possible d'utiliser strace
    Je ne répondrai à aucune question technique en privé

  4. #4
    Membre actif Avatar de ixterm
    Inscrit en
    Mars 2005
    Messages
    283
    Détails du profil
    Informations forums :
    Inscription : Mars 2005
    Messages : 283
    Points : 202
    Points
    202
    Par défaut
    Question : comment afficher toutes les informations sur votre materiel?

    Réponse : en root, utilisez
    en plus du dmesg, on a donc cette commande qui est l'équivalent du lspci sous linux

Discussions similaires

  1. [Projet] Création d'une FAQ Struts2
    Par Mickael Baron dans le forum Struts 2
    Réponses: 7
    Dernier message: 20/06/2008, 10h21
  2. Réponses: 2
    Dernier message: 11/06/2007, 17h25

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo