Advertisement
Guest User

Untitled

a guest
Jan 13th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. this is the call sequence from the direct call of mysqladmin:
  2.  
  3. [...]
  4. stat("/home/super/.my.cnf", {st_mode=S_IFREG|0600, st_size=118, ...}) = 0
  5. open("/home/super/.my.cnf", O_RDONLY) = 3
  6. fstat(3, {st_mode=S_IFREG|0600, st_size=118, ...}) = 0
  7. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4a65649000
  8. read(3, "[xtrabackup]\nuser=root\npassword="..., 4096) = 118
  9. read(3, "", 4096) = 0
  10. close(3)
  11. [...]
  12.  
  13. and this is the same sequence from the mysqladmin instance called by logrotate:
  14.  
  15. [...]
  16. stat("/home/super/.my.cnf", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
  17. open("/home/super/.my.cnf", O_RDONLY) = 3
  18. fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
  19. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f18fe4f4000
  20. read(3, "", 4096) = 0
  21. close(3) = 0
  22. [...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement