diff --git a/AUTHORS b/AUTHORS index 9e7573c..c8bc130 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,7 +1,14 @@ +Ned Bass +Jim Garlick +Ryan Haasken +Burt Holtzman +Jeff Long +Michael MacDonald Chris Morrone Neil O'Neil -Jeff Long Paul Spencer +Prakash Surya +Andrew Uselton Herb Wartens -Jim Garlick -Michael MacDonald +Py Watson +Gotz Waschk diff --git a/cerebro/metric/mdt.c b/cerebro/metric/mdt.c index be0d51b..8bc366d 100644 --- a/cerebro/metric/mdt.c +++ b/cerebro/metric/mdt.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module (re)written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/cerebro/metric/osc.c b/cerebro/metric/osc.c index d6db362..c25482c 100644 --- a/cerebro/metric/osc.c +++ b/cerebro/metric/osc.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module (re)written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/cerebro/metric/ost.c b/cerebro/metric/ost.c index 7b05a8b..39f8cb2 100644 --- a/cerebro/metric/ost.c +++ b/cerebro/metric/ost.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module (re)written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/cerebro/metric/router.c b/cerebro/metric/router.c index 45cf578..d0342c3 100644 --- a/cerebro/metric/router.c +++ b/cerebro/metric/router.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module (re)written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/cerebro/monitor/mysql.c b/cerebro/monitor/mysql.c index 4d46445..8f8b75a 100644 --- a/cerebro/monitor/mysql.c +++ b/cerebro/monitor/mysql.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module (re)written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmt/lmt.h b/liblmt/lmt.h index 6533b43..37e72e2 100644 --- a/liblmt/lmt.h +++ b/liblmt/lmt.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - #define LMT_UPDATE_INTERVAL 5 /* in seconds */ /* diff --git a/liblmt/lmtcerebro.c b/liblmt/lmtcerebro.c index fbe431c..4590e80 100644 --- a/liblmt/lmtcerebro.c +++ b/liblmt/lmtcerebro.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmt/lmtcerebro.h b/liblmt/lmtcerebro.h index ff455b4..8211791 100644 --- a/liblmt/lmtcerebro.h +++ b/liblmt/lmtcerebro.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - typedef struct cmetric_struct *cmetric_t; int lmt_cbr_get_metrics (char *names, List *rlp); diff --git a/liblmt/lmtconf.c b/liblmt/lmtconf.c index d701149..2c715db 100644 --- a/liblmt/lmtconf.c +++ b/liblmt/lmtconf.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* config.c - config registry for lmt */ diff --git a/liblmt/lmtconf.h b/liblmt/lmtconf.h index e5fe783..6a01d10 100644 --- a/liblmt/lmtconf.h +++ b/liblmt/lmtconf.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - int lmt_conf_init (int vopt, char *path); char *lmt_conf_get_db_rouser (void); diff --git a/liblmt/mdt.c b/liblmt/mdt.c index 4de21f8..a767c16 100644 --- a/liblmt/mdt.c +++ b/liblmt/mdt.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmt/mdt.h b/liblmt/mdt.h index 8d76fcb..d1f4663 100644 --- a/liblmt/mdt.h +++ b/liblmt/mdt.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - int lmt_mdt_string_v1 (pctx_t ctx, char *s, int len); int lmt_mdt_decode_v1 (const char *s, char **mdsnamep, diff --git a/liblmt/osc.c b/liblmt/osc.c index d18d1dc..aa0e71a 100644 --- a/liblmt/osc.c +++ b/liblmt/osc.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmt/osc.h b/liblmt/osc.h index 90f9ced..26b41f9 100644 --- a/liblmt/osc.h +++ b/liblmt/osc.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - int lmt_osc_string_v1 (pctx_t ctx, char *s, int len); int lmt_osc_decode_v1 (const char *s, char **mdsnamep, List *oscinfop); diff --git a/liblmt/ost.c b/liblmt/ost.c index 471151f..f8b0259 100644 --- a/liblmt/ost.c +++ b/liblmt/ost.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmt/ost.h b/liblmt/ost.h index 5a1893d..6ffea13 100644 --- a/liblmt/ost.h +++ b/liblmt/ost.h @@ -1,29 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - - int lmt_ost_string_v2 (pctx_t ctx, char *s, int len); int lmt_ost_decode_v2 (const char *s, char **ossnamep, diff --git a/liblmt/router.c b/liblmt/router.c index 3170217..5d2c549 100644 --- a/liblmt/router.c +++ b/liblmt/router.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmt/router.h b/liblmt/router.h index 758ff9b..cc5a0ef 100644 --- a/liblmt/router.h +++ b/liblmt/router.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - int lmt_router_string_v1 (pctx_t ctx, char *s, int len); int lmt_router_decode_v1 (const char *s, char **namep, float *pct_cpup, diff --git a/liblmt/util.c b/liblmt/util.c index 5eb62d9..06a4386 100644 --- a/liblmt/util.c +++ b/liblmt/util.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmt/util.h b/liblmt/util.h index eb31fbf..4cf2b71 100644 --- a/liblmt/util.h +++ b/liblmt/util.h @@ -1,27 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ const char *strskip (const char *s, int n, char sep); char *strskipcpy (const char **sp, int n, char sep); diff --git a/liblmtdb/lmtdb.c b/liblmtdb/lmtdb.c index d044918..d12dc1b 100644 --- a/liblmtdb/lmtdb.c +++ b/liblmtdb/lmtdb.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* lmtdb.c - wire up mysql.c and ost|mdt|router.c for use by cerebro monitor */ diff --git a/liblmtdb/lmtdb.h b/liblmtdb/lmtdb.h index 82c0bc4..e3f7f98 100644 --- a/liblmtdb/lmtdb.h +++ b/liblmtdb/lmtdb.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - void lmt_db_insert_ost_v2 (char *s); void lmt_db_insert_mdt_v1 (char *s); void lmt_db_insert_router_v1 (char *s); diff --git a/liblmtdb/lmtmysql.c b/liblmtdb/lmtmysql.c index b1e90d8..8d57c11 100644 --- a/liblmtdb/lmtmysql.c +++ b/liblmtdb/lmtmysql.c @@ -1,16 +1,15 @@ -/****************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. +/***************************************************************************** + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblmtdb/lmtmysql.h b/liblmtdb/lmtmysql.h index 2300433..25d9466 100644 --- a/liblmtdb/lmtmysql.h +++ b/liblmtdb/lmtmysql.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - typedef struct lmt_db_struct *lmt_db_t; int lmt_db_create (int readonly, const char *dbname, lmt_db_t *dbp); diff --git a/liblsd/error.c b/liblsd/error.c index ff2588b..a55144c 100644 --- a/liblsd/error.c +++ b/liblsd/error.c @@ -1,16 +1,15 @@ /***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. + * Copyright (C) 2007 Lawrence Livermore National Security, LLC. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/liblsd/error.h b/liblsd/error.h index 1e57a6e..382f818 100644 --- a/liblsd/error.h +++ b/liblsd/error.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick . - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - void err_init (char *p); void err_fini (void); void err_set_dest (char *dest); diff --git a/libproc/lustre.c b/libproc/lustre.c index 001e413..1bfe62c 100644 --- a/libproc/lustre.c +++ b/libproc/lustre.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #include diff --git a/libproc/lustre.h b/libproc/lustre.h index ad3832e..899fe53 100644 --- a/libproc/lustre.h +++ b/libproc/lustre.h @@ -1,26 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 * All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - int proc_lustre_ostlist (pctx_t ctx, List *lp); int proc_lustre_mdtlist (pctx_t ctx, List *lp); int proc_lustre_osclist (pctx_t ctx, List *lp); diff --git a/libproc/meminfo.c b/libproc/meminfo.c index de63e76..d2a9573 100644 --- a/libproc/meminfo.c +++ b/libproc/meminfo.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #include diff --git a/libproc/meminfo.h b/libproc/meminfo.h index a74de80..eb61e28 100644 --- a/libproc/meminfo.h +++ b/libproc/meminfo.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - int proc_meminfo (pctx_t ctx, uint64_t *ktotp, uint64_t *kfreep); /* diff --git a/libproc/proc.c b/libproc/proc.c index 92f3937..0e62d60 100644 --- a/libproc/proc.c +++ b/libproc/proc.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #include diff --git a/libproc/proc.h b/libproc/proc.h index c0b5b10..fd923d6 100644 --- a/libproc/proc.h +++ b/libproc/proc.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - typedef struct proc_ctx_struct *pctx_t; pctx_t proc_create (const char *root); diff --git a/libproc/stat.c b/libproc/stat.c index 4a59104..4a4ab73 100644 --- a/libproc/stat.c +++ b/libproc/stat.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #include diff --git a/libproc/stat.h b/libproc/stat.h index 23ed68e..1c59493 100644 --- a/libproc/stat.h +++ b/libproc/stat.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - int proc_stat (pctx_t ctx, uint64_t *usrp, uint64_t *nicep, uint64_t *sysp, uint64_t *idlep, uint64_t *iowaitp, uint64_t *irqp, uint64_t *softirqp); diff --git a/test/tbrw_stats.c b/test/tbrw_stats.c index 4d5f467..a334659 100644 --- a/test/tbrw_stats.c +++ b/test/tbrw_stats.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tbrw_stats.c - test parsing of brw_stats file */ diff --git a/test/tlnet.c b/test/tlnet.c index b6f9230..fe4ab55 100644 --- a/test/tlnet.c +++ b/test/tlnet.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tlnet.c - test parsing of lnet routes and stats files */ diff --git a/test/tosc.c b/test/tosc.c index c214097..2b67563 100644 --- a/test/tosc.c +++ b/test/tosc.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tosc.c - test parsing of lustre osc server_uuid file */ diff --git a/test/tparse.c b/test/tparse.c index 863277d..23c5fad 100644 --- a/test/tparse.c +++ b/test/tparse.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tparse.c - test parsing of lmt metric strings */ diff --git a/test/tproc.c b/test/tproc.c index 9f43312..081ec6b 100644 --- a/test/tproc.c +++ b/test/tproc.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tproc.c - test parsing of /proc/meminfo and /proc/stats */ diff --git a/test/trecov.c b/test/trecov.c index e92ac63..4791ee0 100644 --- a/test/trecov.c +++ b/test/trecov.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* trecov.c - test parsing of lustre recovery_status file */ diff --git a/test/tstats.c b/test/tstats.c index a2ddcce..4b638d8 100644 --- a/test/tstats.c +++ b/test/tstats.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tstats.c - test parsing of lustre stats file */ diff --git a/test/tuuid.c b/test/tuuid.c index 12af731..83895e0 100644 --- a/test/tuuid.c +++ b/test/tuuid.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tuuid.c - test parsing of uuid files */ diff --git a/test/tversion.c b/test/tversion.c index f996e29..6bc9dea 100644 --- a/test/tversion.c +++ b/test/tversion.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. * This module by Michael MacDonald - * UCRL-CODE-232438 - * All Rights Reserved. + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* tversion.c - test parsing of /proc/fs/lustre/version */ diff --git a/utils/lmtinit.c b/utils/lmtinit.c index 69ca41a..3e6e191 100644 --- a/utils/lmtinit.c +++ b/utils/lmtinit.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/utils/lmtmetric.c b/utils/lmtmetric.c index e75ee83..3a39c14 100644 --- a/utils/lmtmetric.c +++ b/utils/lmtmetric.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ #if HAVE_CONFIG_H diff --git a/utils/ltop.c b/utils/ltop.c index aefd560..597b6f6 100644 --- a/utils/ltop.c +++ b/utils/ltop.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* ltop.c - curses based interface to lmt cerebro data */ diff --git a/utils/sample.c b/utils/sample.c index 36cad5e..c2fe439 100644 --- a/utils/sample.c +++ b/utils/sample.c @@ -1,16 +1,15 @@ /***************************************************************************** * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. + * This module was written by Jim Garlick + * UCRL-CODE-232438 All Rights Reserved. * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick + * This file is part of the Lustre Monitoring Tool. * For details, see http://github.com/chaos/lmt. * * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the license, or (at your option) + * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY @@ -20,7 +19,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . + * http://www.gnu.org/licenses. *****************************************************************************/ /* sample.c - ADT for 2-point data values used in rate calculation */ diff --git a/utils/sample.h b/utils/sample.h index 1318449..4b92fb1 100644 --- a/utils/sample.h +++ b/utils/sample.h @@ -1,28 +1,3 @@ -/***************************************************************************** - * Copyright (C) 2010 Lawrence Livermore National Security, LLC. - * This module written by Jim Garlick - * UCRL-CODE-232438 - * All Rights Reserved. - * - * This file is part of Lustre Monitoring Tool, version 2. - * Authors: H. Wartens, P. Spencer, N. O'Neill, J. Long, J. Garlick - * For details, see http://github.com/chaos/lmt. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License (as published by the - * Free Software Foundation) version 2, dated June 1991. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the terms and conditions of the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see - * . - *****************************************************************************/ - typedef struct sample_struct *sample_t; sample_t sample_create (int stale_secs);